Changeset 7790 for code/branches/presentation2/src
- Timestamp:
- Dec 21, 2010, 9:27:36 PM (14 years ago)
- Location:
- code/branches/presentation2/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/libraries/network/LANDiscoverable.cc
r7459 r7790 45 45 this->host_ = 0; 46 46 this->bActive_ = false; 47 this->setActivity(true);47 // this->setActivity(true); 48 48 } 49 49 -
code/branches/presentation2/src/libraries/network/MasterServer.cc
r7765 r7790 280 280 * any input/output bandwidth */ 281 281 this->server = enet_host_create( &this->address, ORX_MSERVER_MAXCONNS, 282 ORX_MSERVER_MAXCHANS, 0, 0 ); 282 ORX_MSERVER_MAXCHANS, 0, 0 ); 283 assert(this->server); 283 284 284 285 /* see if creation worked */ -
code/branches/presentation2/src/libraries/network/NetworkPrereqs.h
r7788 r7790 68 68 extern const char* LAN_DISCOVERY_MESSAGE; 69 69 extern const char* LAN_DISCOVERY_ACK; 70 static const unsigned int LAN_DISCOVERY_PORT = 5555 7;70 static const unsigned int LAN_DISCOVERY_PORT = 55558; 71 71 static const unsigned int NETWORK_PEER_ID_SERVER = 0; 72 72 static const unsigned int NETWORK_CHANNEL_DEFAULT = 0; -
code/branches/presentation2/src/orxonox/gamestates/GSServer.cc
r7401 r7790 34 34 #include "core/GameMode.h" 35 35 #include "network/Server.h" 36 #include "network/Connection.h" 36 37 37 38 namespace orxonox … … 39 40 DeclareGameState(GSServer, "server", false, false); 40 41 41 SetCommandLineArgument(port, 55556).shortcut("p").information("Network communication port to be used 0-65535 (default: 55556)");42 SetCommandLineArgument(port, NETWORK_PORT).shortcut("p").information("Network communication port to be used 0-65535 (default: 55556)"); 42 43 43 44 GSServer::GSServer(const GameStateInfo& info)
Note: See TracChangeset
for help on using the changeset viewer.