Changeset 6695 in orxonox.OLD for trunk/src/orxonox.cc
- Timestamp:
- Jan 25, 2006, 2:39:53 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/orxonox.cc
r6426 r6695 56 56 57 57 #include "network_manager.h" 58 59 #include "state.h" 58 60 59 61 #include <string.h> … … 276 278 277 279 if( this->serverName != NULL) // we are a client 280 { 281 State::setOnline(true); 278 282 NetworkManager::getInstance()->establishConnection(this->serverName, port); 283 } 279 284 else if( this->port > 0) { // we are a server 285 State::setOnline(true); 280 286 NetworkManager::getInstance()->createServer(port); 281 287 } 282 283 288 return 0; 284 289 }
Note: See TracChangeset
for help on using the changeset viewer.