Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5729 in orxonox.OLD for branches/network/src


Ignore:
Timestamp:
Nov 23, 2005, 2:53:21 PM (19 years ago)
Author:
hdavid
Message:

NetworkSocket

Location:
branches/network/src/lib/network
Files:
2 edited

Legend:

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

    r5725 r5729  
    275275 * @return the number successfully read bytes. -1 on error. 0 if there are not enough bytes in our buffer.
    276276 */
    277 int NetworkSocket::readBytesExact(byte * data, int length)
     277int NetworkSocket::readBlock(byte * data, int length)
    278278{
    279279  if (incomingBufferLength >= length)
  • branches/network/src/lib/network/network_socket.h

    r5725 r5729  
    8080  int writeBytes(byte * data, int length);
    8181  int readBytes(byte * data, int length);
    82   int readBytesExact(byte * data, int length);
     82  int readBlock(byte * data, int length);
    8383
    8484};
Note: See TracChangeset for help on using the changeset viewer.