Changeset 6683 in orxonox.OLD for branches/network/src/orxonox.cc
- Timestamp:
- Jan 24, 2006, 11:21:02 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/orxonox.cc
r6658 r6683 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 { 278 281 NetworkManager::getInstance()->establishConnection(this->serverName, port); 282 State::setOnline(true); 283 } 279 284 else if( this->port > 0) { // we are a server 280 285 NetworkManager::getInstance()->createServer(port); 286 State::setOnline(true); 281 287 } 282 288 return 0;
Note: See TracChangeset
for help on using the changeset viewer.