Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6634 in orxonox.OLD for trunk/src/lib/network/network_stream.cc


Ignore:
Timestamp:
Jan 21, 2006, 1:18:19 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: merged the network-branche back to the trunk

merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/network . -r6500:HEAD
minor conflicts in texture and one Makefile resolved to the trunk

also made a small patch to texture, so it Modulates with GL_REPEAT

File:
1 edited

Legend:

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

    r6498 r6634  
    7878  this->connectionMonitor = new ConnectionMonitor();
    7979  this->networkSockets.push_back( NULL );
     80  this->networkSockets[0] = NULL; //TODO: remove this
    8081  this->handshakes.push_back( NULL );
    8182  this->bActive = true;
     
    266267            if ( networkSockets[i] != NULL )
    267268            {
    268               PRINTF(5)("write %d bytes to socket %d\n", dataLength, reciever);
     269              PRINTF(5)("write %d bytes to socket %d\n", dataLength, i);
    269270              networkSockets[i]->writePacket(downBuffer, dataLength);
    270271            }
     
    310311            if ( (*it)->writeBytes(upBuffer+sizeof(header), dataLength, i) != header.length )
    311312            {
    312               PRINTF(1)("%s did not read all the data!\n", (*it)->getClassName());
     313              PRINTF(1)("%s did not read all the data id = %d!\n", (*it)->getClassName(), (*it)->getUniqueID());
    313314              break;
    314315            }
Note: See TracChangeset for help on using the changeset viewer.