- Timestamp:
- Sep 15, 2008, 10:59:54 AM (16 years ago)
- Location:
- code/trunk/src/network
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/network/ClientConnection.h
r1755 r1785 53 53 { 54 54 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// miliseconds59 #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; 60 60 61 61 -
code/trunk/src/network/ConnectionManager.h
r1755 r1785 61 61 namespace network 62 62 { 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; 67 67 68 68 struct ClientList{ -
code/trunk/src/network/GamestateManager.h
r1763 r1785 50 50 { 51 51 52 #define KEEP_GAMESTATES 10 52 const int KEEP_GAMESTATES = 10; 53 53 54 54 /** -
code/trunk/src/network/Server.cc
r1755 r1785 60 60 namespace network 61 61 { 62 #define MAX_FAILURES20;63 #define NETWORK_FREQUENCY 3062 const int MAX_FAILURES = 20; 63 const int NETWORK_FREQUENCY = 30; 64 64 65 65 /** -
code/trunk/src/network/Server.h
r1735 r1785 51 51 namespace network 52 52 { 53 #define CLIENTID_SERVER 053 const int CLIENTID_SERVER = 0; 54 54 55 55 /**
Note: See TracChangeset
for help on using the changeset viewer.