Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 17, 2010, 11:49:08 AM (13 years ago)
Author:
scheusso
Message:

some comments
enable enet packet compression

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network5/src/libraries/network/ClientConnection.cc

    r7773 r7774  
    7070    ENetEvent event;
    7171
     72    // create host
    7273    this->host_ = enet_host_create(NULL, NETWORK_CLIENT_MAX_CONNECTIONS, NETWORK_CHANNEL_COUNT, 0, 0);
     74   
    7375    if ( this->host_ == NULL )
    7476    {
     
    7779      return false;
    7880    }
     81   
     82    // enable compression
     83    this->enableCompression();
     84   
    7985    assert( this->host_->socket4 != ENET_SOCKET_NULL || this->host_->socket6 != ENET_SOCKET_NULL );
    8086    if (this->host_->socket4 == ENET_SOCKET_NULL)
Note: See TracChangeset for help on using the changeset viewer.