Changeset 3209 for code/branches/netp5/src/network/ServerConnection.cc
- Timestamp:
- Jun 23, 2009, 2:12:44 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/netp5/src/network/ServerConnection.cc
r3203 r3209 30 30 31 31 #include <cassert> 32 #include <string> 33 #include <enet/enet.h> 32 34 35 #include "util/Debug.h" 33 36 #include "ClientInformation.h" 34 35 #include "core/CoreIncludes.h"36 37 37 38 namespace orxonox … … 50 51 closeListener(); 51 52 delete this->bindAddress_; 53 } 54 55 void ServerConnection::setBindAddress( const std::string& bindAddress ) { 56 enet_address_set_host (this->bindAddress_, bindAddress.c_str()); 57 } 58 59 void ServerConnection::setPort( unsigned int port ) { 60 this->bindAddress_->port = port; 52 61 } 53 62
Note: See TracChangeset
for help on using the changeset viewer.