Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/network/README.NETWORK @ 9434

Last change on this file since 9434 was 9406, checked in by bensch, 18 years ago

orxonox/trunk: merged the proxy back

merged with commandsvn merge -r9346:HEAD https://svn.orxonox.net/orxonox/branches/proxy .

no conflicts

File size: 834 bytes
RevLine 
[9396]1
2
3This readme just gives some hints for the general network programming:
4
[9397]5ARCHITECTURE:
6The NetworkStream is in the center of this structure.
7
8
[9396]9UserId:
10containing the id of a user (==client). This id must be unique within a orxonox network its used especialy in the NetworkStream for node identification and also in the Synchronizeable base class for permissions checking (PERMISSION_OWNER)
11WARNING:
12There is some correlation between userids and the maxplayer, do not touch this.
13
14
[9400]15uniqueId:
16uniqueId is an id (unique :D) for each synchronizeable to be identified in a network. the number space for uniqueIds goes from 0 to maxplayers - 1
17
18
[9396]19NetworkStream PeerInfo list: (peers)
20The network node with the offset 0 is always the server to which the client must connect to (in case there are connections to other hosts at the same time).
Note: See TracBrowser for help on using the repository browser.