Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 11, 2010, 9:07:55 PM (13 years ago)
Author:
smerkli
Message:

started implementing server pings, but need a change to masterservercomm soon.

File:
1 edited

Legend:

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

    r7750 r7756  
    3333#define MS_ADDRESS "129.132.3.8"
    3434
     35
     36/*** CLIENT COMMUNICATIONS ***/
    3537/* Client token (shows that the party sending data is a client */
    3638#define MSPROTO_CLIENT "CL"
     
    4446
    4547
     48/*** GAME SERVER COMMUNICATIONS ***/
    4649/* Game server token (shows that the party sending data is a game server) */
    4750#define MSPROTO_GAME_SERVER "GS"
     
    6265#define MSPROTO_SERVERLIST_END_LEN 6
    6366
     67/* ping request from server */
     68#define MSPROTO_PING_GAMESERVER "PING"
     69#define MSPROTO_PING_GAMESERVER_LEN 4
     70
     71/* ping reply */
     72#define MSPROTO_ACK "ACK"
     73#define MSPROTO_ACK_LEN 3
     74
    6475
    6576
Note: See TracChangeset for help on using the changeset viewer.