- Timestamp:
- Dec 17, 2010, 11:49:08 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network5/src/libraries/network/ClientConnection.cc
r7773 r7774 70 70 ENetEvent event; 71 71 72 // create host 72 73 this->host_ = enet_host_create(NULL, NETWORK_CLIENT_MAX_CONNECTIONS, NETWORK_CHANNEL_COUNT, 0, 0); 74 73 75 if ( this->host_ == NULL ) 74 76 { … … 77 79 return false; 78 80 } 81 82 // enable compression 83 this->enableCompression(); 84 79 85 assert( this->host_->socket4 != ENET_SOCKET_NULL || this->host_->socket6 != ENET_SOCKET_NULL ); 80 86 if (this->host_->socket4 == ENET_SOCKET_NULL)
Note: See TracChangeset
for help on using the changeset viewer.