Line | |
---|
1 | |
---|
2 | |
---|
3 | This readme just gives some hints for the general network programming: |
---|
4 | |
---|
5 | ARCHITECTURE: |
---|
6 | The NetworkStream is in the center of this structure. |
---|
7 | |
---|
8 | |
---|
9 | UserId: |
---|
10 | containing 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) |
---|
11 | WARNING: |
---|
12 | There is some correlation between userids and the maxplayer, do not touch this. |
---|
13 | |
---|
14 | |
---|
15 | uniqueId: |
---|
16 | uniqueId 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 | |
---|
19 | NetworkStream PeerInfo list: (peers) |
---|
20 | The 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.