Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3203


Ignore:
Timestamp:
Jun 21, 2009, 12:34:33 AM (16 years ago)
Author:
scheusso
Message:

removed some warnings

Location:
code/branches/netp5/src/network
Files:
3 edited

Legend:

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

    r3202 r3203  
    8686    }
    8787    COUT(1) << "Could not connect to server" << endl;
     88    return false;
    8889  }
    8990
  • code/branches/netp5/src/network/Connection.h

    r3202 r3203  
    5151namespace orxonox
    5252{
    53     const int NETWORK_PORT = 55556;
    54     const int NETWORK_MAX_CONNECTIONS = 50;
    55     const int NETWORK_WAIT_TIMEOUT = 0;
    56     const int NETWORK_DEFAULT_CHANNEL = 0;
    57     const int NETWORK_MAX_QUEUE_PROCESS_TIME = 5;
     53    const unsigned int NETWORK_PORT = 55556;
     54    const unsigned int NETWORK_MAX_CONNECTIONS = 50;
     55    const unsigned int NETWORK_WAIT_TIMEOUT = 0;
     56    const unsigned int NETWORK_DEFAULT_CHANNEL = 0;
     57    const unsigned int NETWORK_MAX_QUEUE_PROCESS_TIME = 5;
    5858
    5959  class _NetworkExport Connection{
  • code/branches/netp5/src/network/ServerConnection.cc

    r3202 r3203  
    5656    if ( this->host_ == NULL )
    5757      return false;
     58    else
     59      return true;
    5860  }
    5961
     
    6264    disconnectClients();
    6365    enet_host_destroy(this->host_);
     66    return true;
    6467  }
    6568
Note: See TracChangeset for help on using the changeset viewer.