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/ConnectionManager.h

    r1755 r1785  
    6161namespace network
    6262{
    63 #define NETWORK_PORT 55556
    64 #define NETWORK_MAX_CONNECTIONS 50
    65 #define NETWORK_WAIT_TIMEOUT 1
    66 #define NETWORK_DEFAULT_CHANNEL 0
     63    const int NETWORK_PORT = 55556;
     64    const int NETWORK_MAX_CONNECTIONS = 50;
     65    const int NETWORK_WAIT_TIMEOUT = 1;
     66    const int NETWORK_DEFAULT_CHANNEL = 0;
    6767
    6868  struct ClientList{
Note: See TracChangeset for help on using the changeset viewer.