- Timestamp:
- May 23, 2006, 3:29:36 PM (19 years ago)
- Location:
- branches/network/src/lib/network
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/connection_monitor.h
r7772 r7776 28 28 void calculatePing(); 29 29 30 bool hasTimedOut(){ return ( lastPacketTick + SECS_TO_TIMEOUT*1000 < SDL_GetTicks() ) && nIncomingPackets > 0; } 30 //TODO 31 bool hasTimedOut(){ return false; return ( lastPacketTick + SECS_TO_TIMEOUT*1000 < SDL_GetTicks() ) && nIncomingPackets > 0; } 31 32 32 33 int getMaxPacketSize(); -
branches/network/src/lib/network/handshake.cc
r7775 r7776 103 103 } 104 104 105 PRINTF(0)("=======================BEGIN============================= ");105 PRINTF(0)("=======================BEGIN=============================\n"); 106 106 for ( std::list<int>::iterator it = id.begin(); it != id.end(); it++ ) 107 107 { … … 123 123 PRINTF(0)("version_handler\n"); 124 124 } 125 PRINTF(0)("========================================================= ");125 PRINTF(0)("=========================================================\n"); 126 126 } 127 127 -
branches/network/src/lib/network/network_stream.cc
r7775 r7776 422 422 } 423 423 424 NETPRINTF(n)("adsf\n"); 425 424 426 assert( Converter::intToByteArray( offset, buf, INTSIZE ) == INTSIZE ); 425 427 426 428 assert( peer->second.socket->writePacket( buf, offset ) ); 427 429 428 peer->second.connectionMonitor->processUnzippedOutgoingPacket( buf, offset, currentState );430 //peer->second.connectionMonitor->processUnzippedOutgoingPacket( buf, offset, currentState ); 429 431 430 432 NETPRINTF(n)("send packet: %d userId = %d\n", offset, peer->second.userId); … … 573 575 } 574 576 575 peer->second.connectionMonitor->processUnzippedIncomingPacket( buf, offset, currentState, ackedState );577 //peer->second.connectionMonitor->processUnzippedIncomingPacket( buf, offset, currentState, ackedState ); 576 578 577 579 peer->second.lastAckedState = ackedState;
Note: See TracChangeset
for help on using the changeset viewer.