Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 23, 2009, 2:12:44 AM (15 years ago)
Author:
rgrieder
Message:

Cleanup in network plus a few dependency reductions (no enet-function inlines, using enum PacketFlag instead of the enet version)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/netp5/src/network/ServerConnection.h

    r3202 r3209  
    4242
    4343#include "NetworkPrereqs.h"
    44 
    4544#include "Connection.h"
    4645
     
    5251    ~ServerConnection();
    5352   
    54     void setBindAddress( const std::string& bindAddress ){ enet_address_set_host (this->bindAddress_, bindAddress.c_str()); }
    55     void setPort( unsigned int port ){ this->bindAddress_->port = port; }
     53    void setBindAddress( const std::string& bindAddress );
     54    void setPort( unsigned int port );
    5655   
    5756    bool openListener();
Note: See TracChangeset for help on using the changeset viewer.