Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6297 in orxonox.OLD for branches


Ignore:
Timestamp:
Dec 26, 2005, 3:40:10 AM (19 years ago)
Author:
rennerc
Message:
 
File:
1 edited

Legend:

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

    r6296 r6297  
    230230
    231231        Header* header = (Header*)downBuffer;
    232         if ( header->synchronizeableID < this->maxConnections )
     232        if ( header->synchronizeableID < this->maxConnections+2 )
     233        {
     234          PRINTF(0)("RESET UNIQUEID TO 0\n");
    233235          header->synchronizeableID = 0;
     236        }
     237        else
     238        {
     239          PRINTF(0)("UNIQUEID=%d\n", header->synchronizeableID);
     240        }
    234241
    235242        if ( dataLength<=0 )
     
    240247          if ( networkSockets[reciever] != NULL )
    241248          {
    242             PRINTF(5)("write %d bytes to socket %d\n", dataLength, reciever);
     249            PRINTF(0)("write %d bytes to socket %d\n", dataLength, reciever);
    243250            networkSockets[reciever]->writePacket(downBuffer, dataLength);
    244251          }
     
    254261            if ( networkSockets[i] != NULL )
    255262            {
    256               PRINTF(5)("write %d bytes to socket %d\n", dataLength, reciever);
     263              PRINTF(0)("write %d bytes to socket %d\n", dataLength, reciever);
    257264              networkSockets[i]->writePacket(downBuffer, dataLength);
    258265            }
Note: See TracChangeset for help on using the changeset viewer.