Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 31, 2010, 6:13:18 PM (14 years ago)
Author:
adrfried
Message:

made enet 1.3 compatible

File:
1 edited

Legend:

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

    r7284 r7294  
    7070    ENetEvent event;
    7171
    72     this->host_ = enet_host_create(NULL, NETWORK_CLIENT_MAX_CONNECTIONS, 0, 0);
     72    this->host_ = enet_host_create(NULL, NETWORK_CLIENT_MAX_CONNECTIONS, 0, 0, 0);
    7373    if ( this->host_ == NULL )
    7474    {
     
    7777      return false;
    7878    }
    79     this->server_ = enet_host_connect(this->host_, serverAddress_, NETWORK_CLIENT_CHANNELS);
     79    this->server_ = enet_host_connect(this->host_, serverAddress_, NETWORK_CLIENT_CHANNELS, 0);
    8080    if ( this->server_==NULL )
    8181    {
Note: See TracChangeset for help on using the changeset viewer.