Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 15, 2008, 10:59:54 AM (16 years ago)
Author:
rgrieder
Message:

replaced the macro constants with c++'s idea of constants in network library.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/network/ClientConnection.h

    r1755 r1785  
    5353{
    5454
    55 #define NETWORK_PORT 55556
    56 #define NETWORK_CLIENT_MAX_CONNECTIONS 5
    57 #define NETWORK_CLIENT_WAIT_TIME 1
    58 #define NETWORK_CLIENT_CONNECT_TIMEOUT 3000 // miliseconds
    59 #define NETWORK_CLIENT_CHANNELS 2
     55    const int NETWORK_PORT = 55556;
     56    const int NETWORK_CLIENT_MAX_CONNECTIONS = 5;
     57    const int NETWORK_CLIENT_WAIT_TIME = 1;
     58    const int NETWORK_CLIENT_CONNECT_TIMEOUT = 3000; // miliseconds
     59    const int NETWORK_CLIENT_CHANNELS = 2;
    6060
    6161
Note: See TracChangeset for help on using the changeset viewer.