Changeset 9374 in orxonox.OLD for branches/proxy/src/lib/network/network_stream.cc
- Timestamp:
- Jul 21, 2006, 1:12:57 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/network_stream.cc
r9371 r9374 404 404 it->second.socket = NULL; 405 405 406 // remove the old connectin monitor 406 407 if ( it->second.connectionMonitor ) 407 408 delete it->second.connectionMonitor; 408 409 it->second.connectionMonitor = NULL; 409 410 411 // remove the handshake 410 412 if ( it->second.handshake ) 411 413 delete it->second.handshake; 412 414 it->second.handshake = NULL; 413 415 416 // and cleanup the user infos 414 417 for ( SynchronizeableList::iterator it2 = synchronizeables.begin(); it2 != synchronizeables.end(); it2++ ) 415 418 { … … 488 491 if ( !it->second.handshake->allowDel() ) 489 492 { 493 490 494 if ( this->pInfo->nodeType == NET_CLIENT ) 491 495 { 496 492 497 SharedNetworkData::getInstance()->setHostID( it->second.handshake->getHostId() ); 493 498 this->pInfo->userId = SharedNetworkData::getInstance()->getHostID(); … … 515 520 516 521 PRINT(0)("handshake finished id=%d\n", it->second.handshake->getNetworkGameManagerId()); 517 518 522 it->second.handshake->del(); 519 523 }
Note: See TracChangeset
for help on using the changeset viewer.