Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 25, 2006, 11:52:37 PM (18 years ago)
Author:
patrick
Message:

proxy server not able to load the world file, some more safty in the handshake handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/network/network_stream.cc

    r9476 r9479  
    555555          // write the first informations into the node so they can be read from there for case differentiation
    556556          it->second.nodeType = it->second.handshake->getRemoteNodeType();
    557           it->second.ip = it->second.socket->getRemoteAddress();
    558557
    559558          // the counter part didn't mark it free for deletion yet
     
    568567              this->pInfo->userId = SharedNetworkData::getInstance()->getHostID();
    569568
     569              it->second.ip = it->second.socket->getRemoteAddress();
     570
    570571//               it->second.nodeType = it->second.handshake->getRemoteNodeType();
    571572//               it->second.ip = it->second.socket->getRemoteAddress();
     
    602603              if (  SharedNetworkData::getInstance()->isMasterServer() )
    603604              {
     605                it->second.ip = it->second.socket->getRemoteAddress();
     606
    604607                this->networkMonitor->addNode(&it->second);
    605608
     
    613616              else if ( SharedNetworkData::getInstance()->isProxyServerActive() && it->second.isClient() )
    614617              {
    615                 it->second.nodeType = it->second.handshake->getRemoteNodeType();
    616618                it->second.ip = it->second.socket->getRemoteAddress();
    617619
Note: See TracChangeset for help on using the changeset viewer.