Changeset 7804 in orxonox.OLD for branches/network/src/lib
- Timestamp:
- May 24, 2006, 2:19:42 PM (19 years ago)
- Location:
- branches/network/src/lib/network
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/converter.cc
r7631 r7804 489 489 { 490 490 PRINTF(1)("something went wrong length > remaining bytes in buffer\n" ); 491 492 //TODO remove this 493 for ( int i = -1000; i < 1001; i++ ) 494 { 495 if ( ( a[i] > 'a' && a[i] < 'z' ) || ( a[i] > 'A' && a[i] < 'Z' ) ) 496 printf("%c", a[i]); 497 else 498 printf("."); 499 } 500 printf("\n"); 501 491 502 s = ""; 492 503 return -1; -
branches/network/src/lib/network/network_stream.cc
r7803 r7804 390 390 for ( SynchronizeableList::iterator it = synchronizeables.begin(); it != synchronizeables.end(); it++ ) 391 391 { 392 PRINTF(0)("offset: %d\n", offset); 392 393 int oldOffset = offset; 393 394 Synchronizeable & sync = **it; … … 447 448 peer->second.connectionMonitor->processUnzippedOutgoingPacket( buf, offset, currentState ); 448 449 450 assert( offset != 142 ); 449 451 NETPRINTF(n)("send packet: %d userId = %d\n", offset, peer->second.userId); 450 452 } … … 475 477 while ( 0 < (packetLength = peer->second.socket->readPacket( buf, UDP_PACKET_SIZE )) ) 476 478 { 477 479 PRINTF(0)("offset: %d\n", offset); 478 480 if ( packetLength < 4*INTSIZE ) 479 481 { -
branches/network/src/lib/network/synchronizeable_var/synchronizeable_string.cc
r7631 r7804 66 66 setHasChanged( oldVal != *vPtrOut ); 67 67 68 if ( res < 0 ) 69 { 70 printf("%s | res (%d) < 0\n", this->getName().c_str(), res); 71 } 68 72 assert( res > 0 ); 69 73
Note: See TracChangeset
for help on using the changeset viewer.