Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 8, 2010, 7:33:11 PM (13 years ago)
Author:
smerkli
Message:

documentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/src/libraries/network/MasterServerProtocol.h

    r7739 r7750  
    3333#define MS_ADDRESS "129.132.3.8"
    3434
     35/* Client token (shows that the party sending data is a client */
    3536#define MSPROTO_CLIENT "CL"
    3637#define MSPROTO_CLIENT_LEN 2
    3738
     39/* Request: Serverlist (requiest made from client to master server */
    3840#define MSPROTO_REQ_LIST "REQ:LIST"
    3941#define MSPROTO_REQ_LIST_LEN 8
     
    4244
    4345
     46/* Game server token (shows that the party sending data is a game server) */
    4447#define MSPROTO_GAME_SERVER "GS"
    4548#define MSPROTO_GAME_SERVER_LEN 2
    4649
     50/* Register game server at the master server, meaning request to be taken into$
     51 * the master servers game server list.
     52 */
    4753#define MSPROTO_REGISTER_SERVER "REG:SER"
    4854#define MSPROTO_REGISTER_SERVER_LEN 7
    4955
     56/* Server list item token */
    5057#define MSPROTO_SERVERLIST_ITEM "SI"
    5158#define MSPROTO_SERVERLIST_ITEM_LEN 2
     59
     60/* server list end token */
    5261#define MSPROTO_SERVERLIST_END "SL_END"
    5362#define MSPROTO_SERVERLIST_END_LEN 6
     
    5564
    5665
    57 
    58 
    59 
     66/* default master server port */
    6067#define ORX_MSERVER_PORT 55566
    6168
    6269
     70/* some constants for the networking of the master server, not very important.
     71 * play with those if things don't work out well.$
     72 */
    6373#define ORX_MSERVER_MAXCONNS 32
    6474#define ORX_MSERVER_MAXCHANS 2
    6575
    6676
    67 
    68 
    6977#endif /* MASTER_SERVER_PROTO */
Note: See TracChangeset for help on using the changeset viewer.