Changeset 9479 in orxonox.OLD for branches/proxy/src/lib
- Timestamp:
- Jul 25, 2006, 11:52:37 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/network_stream.cc
r9476 r9479 555 555 // write the first informations into the node so they can be read from there for case differentiation 556 556 it->second.nodeType = it->second.handshake->getRemoteNodeType(); 557 it->second.ip = it->second.socket->getRemoteAddress();558 557 559 558 // the counter part didn't mark it free for deletion yet … … 568 567 this->pInfo->userId = SharedNetworkData::getInstance()->getHostID(); 569 568 569 it->second.ip = it->second.socket->getRemoteAddress(); 570 570 571 // it->second.nodeType = it->second.handshake->getRemoteNodeType(); 571 572 // it->second.ip = it->second.socket->getRemoteAddress(); … … 602 603 if ( SharedNetworkData::getInstance()->isMasterServer() ) 603 604 { 605 it->second.ip = it->second.socket->getRemoteAddress(); 606 604 607 this->networkMonitor->addNode(&it->second); 605 608 … … 613 616 else if ( SharedNetworkData::getInstance()->isProxyServerActive() && it->second.isClient() ) 614 617 { 615 it->second.nodeType = it->second.handshake->getRemoteNodeType();616 618 it->second.ip = it->second.socket->getRemoteAddress(); 617 619
Note: See TracChangeset
for help on using the changeset viewer.