Changeset 2836 for code/branches/netp2/src/network/ConnectionManager.h
- Timestamp:
- Mar 23, 2009, 5:00:54 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/netp2/src/network/ConnectionManager.h
r2773 r2836 55 55 const int NETWORK_PORT = 55556; 56 56 const int NETWORK_MAX_CONNECTIONS = 50; 57 const int NETWORK_WAIT_TIMEOUT = 1 ;57 const int NETWORK_WAIT_TIMEOUT = 10; 58 58 const int NETWORK_DEFAULT_CHANNEL = 0; 59 59 … … 84 84 private: 85 85 ConnectionManager(const ConnectionManager& copy); // not used 86 bool processData(ENetEvent *event);86 inline bool processData(ENetEvent *event){ return buffer.push(event); } 87 87 void receiverThread(); 88 88 void disconnectClients();
Note: See TracChangeset
for help on using the changeset viewer.