Changeset 9349 in orxonox.OLD for branches/proxy/src/lib/network
- Timestamp:
- Jul 20, 2006, 11:58:16 AM (18 years ago)
- Location:
- branches/proxy/src/lib/network
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/handshake.cc
r9347 r9349 49 49 // now synchronize only two of the available proxy server addresses 50 50 registerVar( new SynchronizeableIP( &localState.proxy1, &remoteState.proxy1, "proxy server 1", PERMISSION_ALL ) ); 51 registerVar( new SynchronizeableIP( &localState.proxy2, &remoteState.proxy 1, "proxy server 2", PERMISSION_ALL ) );51 registerVar( new SynchronizeableIP( &localState.proxy2, &remoteState.proxy2, "proxy server 2", PERMISSION_ALL ) ); 52 52 53 53 // init the local state -
branches/proxy/src/lib/network/network_stream.cc
r9347 r9349 351 351 peers[clientId].handshake->setProxy1Address( pi->ip); 352 352 PRINTF(0)("proxy1 ip set to: %s\n", pi->ip.ipString().c_str()); 353 PRINTF(0)(" proxy1 ip : %i, port: %i\n", pi->ip.host(), pi->ip.port()); 353 354 } 354 355 … … 501 502 this->networkMonitor->addNode(it->second.handshake->getProxy1Address(), NET_PROXY_SERVER_ACTIVE); 502 503 PRINTF(0)("proxy1 ip read to: %s\n", it->second.handshake->getProxy1Address().ipString().c_str()); 504 PRINTF(0)(" proxy1 ip : %i, port: %i\n", it->second.handshake->getProxy1Address().host(), it->second.handshake->getProxy1Address().port()); 503 505 // get proxy 2 address and add it 504 506 this->networkMonitor->addNode(it->second.handshake->getProxy2Address(), NET_PROXY_SERVER_ACTIVE); -
branches/proxy/src/lib/network/synchronizeable_var/synchronizeable_ip.cc
r9347 r9349 88 88 *this->vPtrOut = IP(host, port); 89 89 90 printf(" vtrp out old: %i, %i -- new: %i, %i\n", oldVal.host(), oldVal.port(), this->vPtrOut->host(), this->vPtrOut->port());90 printf(" %s old: %i, %i -- new: %i, %i\n", name.c_str(), oldVal.host(), oldVal.port(), this->vPtrOut->host(), this->vPtrOut->port()); 91 91 setHasChanged( *this->vPtrOut != oldVal); 92 92
Note: See TracChangeset
for help on using the changeset viewer.