Changeset 9452 in orxonox.OLD for branches/proxy/src/lib/network/network_manager.cc
- Timestamp:
- Jul 25, 2006, 10:52:37 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/network_manager.cc
r9450 r9452 129 129 NetworkSettings::getInstance()->loadData(); 130 130 131 // create the network stream 131 // create the network stream af 132 132 this->networkStream = new NetworkStream(NET_PROXY_SERVER_ACTIVE); 133 // first connect to the master server for synchronization 134 this->networkStream->connectToMasterServer(NetworkSettings::getInstance()->getMasterAddr().ipString(), 9999); 135 // start the handshake with the master server 136 this->networkStream->startHandshake(NET_ID_MASTER_SERVER); 137 // then start the server 133 138 this->networkStream->createServer( port); 134 // and connect to the master server for synchronization135 this->networkStream->connectToMasterServer(NetworkSettings::getInstance()->getMasterAddr().ipString(), 9999);136 139 // and to the other proxy servers also, this would be very nice if its works 137 140
Note: See TracChangeset
for help on using the changeset viewer.