Changeset 7806 in orxonox.OLD for branches/network/src
- Timestamp:
- May 24, 2006, 2:51:31 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_stream.cc
r7804 r7806 423 423 n = sync.getStateDiff( peer->second.userId, buf + offset, UDP_PACKET_SIZE-offset, currentState, peer->second.lastAckedState, -1000 ); 424 424 offset += n; 425 //PRINTF(0)("GGGGGEEEEEEETTTTTTTT: %d\n", n); 425 426 426 427 assert( Converter::intToByteArray( n, buf + offset - n - INTSIZE, INTSIZE ) == INTSIZE ); … … 477 478 while ( 0 < (packetLength = peer->second.socket->readPacket( buf, UDP_PACKET_SIZE )) ) 478 479 { 479 PRINTF(0)("offset: %d\n", offset);480 480 if ( packetLength < 4*INTSIZE ) 481 481 { … … 588 588 } 589 589 590 offset += sync->setStateDiff( peer->second.userId, buf+offset, syncDataLength, state, fromState ); 590 int n = sync->setStateDiff( peer->second.userId, buf+offset, syncDataLength, state, fromState ); 591 offset += n; 592 //PRINTF(0)("SSSSSEEEEETTTTT: %d\n", n); 591 593 } 592 594
Note: See TracChangeset
for help on using the changeset viewer.