Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7776 in orxonox.OLD for branches/network


Ignore:
Timestamp:
May 23, 2006, 3:29:36 PM (18 years ago)
Author:
rennerc
Message:

removed some features

Location:
branches/network/src/lib/network
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/network/connection_monitor.h

    r7772 r7776  
    2828    void calculatePing();
    2929   
    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; }
    3132   
    3233    int getMaxPacketSize();
  • branches/network/src/lib/network/handshake.cc

    r7775 r7776  
    103103  }
    104104 
    105   PRINTF(0)("=======================BEGIN=============================");
     105  PRINTF(0)("=======================BEGIN=============================\n");
    106106  for ( std::list<int>::iterator it = id.begin(); it != id.end(); it++ )
    107107  {
     
    123123      PRINTF(0)("version_handler\n");
    124124  }
    125   PRINTF(0)("=========================================================");
     125  PRINTF(0)("=========================================================\n");
    126126}
    127127
  • branches/network/src/lib/network/network_stream.cc

    r7775 r7776  
    422422    }
    423423   
     424    NETPRINTF(n)("adsf\n");
     425   
    424426    assert( Converter::intToByteArray( offset, buf, INTSIZE ) == INTSIZE );
    425427   
    426428    assert( peer->second.socket->writePacket( buf, offset ) );
    427429   
    428     peer->second.connectionMonitor->processUnzippedOutgoingPacket( buf, offset, currentState );
     430    //peer->second.connectionMonitor->processUnzippedOutgoingPacket( buf, offset, currentState );
    429431   
    430432    NETPRINTF(n)("send packet: %d userId = %d\n", offset, peer->second.userId);
     
    573575      }
    574576     
    575       peer->second.connectionMonitor->processUnzippedIncomingPacket( buf, offset, currentState, ackedState );
     577      //peer->second.connectionMonitor->processUnzippedIncomingPacket( buf, offset, currentState, ackedState );
    576578   
    577579      peer->second.lastAckedState = ackedState;
Note: See TracChangeset for help on using the changeset viewer.