Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6582 in orxonox.OLD for branches


Ignore:
Timestamp:
Jan 18, 2006, 4:12:40 PM (19 years ago)
Author:
rennerc
Message:

added warning when sending big packets

File:
1 edited

Legend:

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

    r6341 r6582  
    398398bool NetworkSocket::writePacket( byte * data, int length )
    399399{
    400   PRINTF(5)("NetworkSocket::writePacket()\n");
     400  PRINTF(5)("NetworkSocket::writePacket() size=%d\n", length);
     401
     402  if ( length > 1024 )
     403  PRINTF(2)("WARNING SENDING BIG PACKET SIZE = %d\n", length);
    401404
    402405  byte blen[INTSIZE];
Note: See TracChangeset for help on using the changeset viewer.