Changeset 9338 in orxonox.OLD for branches/proxy/src
- Timestamp:
- Jul 20, 2006, 12:03:24 AM (18 years ago)
- Location:
- branches/proxy/src/lib/network
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/monitor/network_monitor.cc
r9334 r9338 69 69 NetworkNode* node = new NetworkNode(peer); 70 70 this->addNode( node); 71 this->add PassiveProxyServer( this->localNode, peer);71 this->addActiveProxyServer( this->localNode, peer); 72 72 } 73 73 } -
branches/proxy/src/lib/network/monitor/network_node.cc
r9334 r9338 240 240 { 241 241 IP* ip = &(*it)->ip; 242 PRINT(0)(" - ms, id: %i (%s :9999)\n", (*it)->userId, ip->ipString().c_str());242 PRINT(0)(" - ms, id: %i (%s)\n", (*it)->userId, ip->ipString().c_str()); 243 243 } 244 244 … … 248 248 { 249 249 IP* ip = &(*it)->ip; 250 PRINT(0)(" - ps-a, id: %i (%s :9999)\n", (*it)->userId, ip->ipString().c_str());250 PRINT(0)(" - ps-a, id: %i (%s)\n", (*it)->userId, ip->ipString().c_str()); 251 251 } 252 252 … … 256 256 { 257 257 IP* ip = &(*it)->ip; 258 PRINT(0)(" - ps-p, id: %i (%s :9999)\n", (*it)->userId, ip->ipString().c_str());258 PRINT(0)(" - ps-p, id: %i (%s)\n", (*it)->userId, ip->ipString().c_str()); 259 259 } 260 260 … … 264 264 { 265 265 IP* ip = &(*it)->ip; 266 PRINT(0)(" - client, id: %i (%s :9999)\n", (*it)->userId, ip->ipString().c_str());267 } 268 } 269 266 PRINT(0)(" - client, id: %i (%s)\n", (*it)->userId, ip->ipString().c_str()); 267 } 268 } 269 -
branches/proxy/src/lib/network/network_stream.cc
r9334 r9338 353 353 // get the proxy server informations and write them to the handshake, if any (proxy) 354 354 PeerInfo* pi = this->networkMonitor->getFirstChoiceProxy(); 355 assert (pi != NULL); 355 356 if( pi != NULL) 356 357 peers[clientId].handshake->setProxy1Address( pi->ip); -
branches/proxy/src/lib/network/synchronizeable_var/synchronizeable_ip.cc
r9334 r9338 88 88 *this->vPtrOut = IP(host, port); 89 89 90 printf(" vtrp out old: %i, %i -- new: %i, %i\n", oldIP.ip(), oldIP.port(), this->vPtrOut->ip(), this->vPtrOut->port()); 90 91 setHasChanged( *this->vPtrOut != oldIP); 91 92
Note: See TracChangeset
for help on using the changeset viewer.