Changeset 5729 in orxonox.OLD for branches/network/src
- Timestamp:
- Nov 23, 2005, 2:53:21 PM (19 years ago)
- Location:
- branches/network/src/lib/network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_socket.cc
r5725 r5729 275 275 * @return the number successfully read bytes. -1 on error. 0 if there are not enough bytes in our buffer. 276 276 */ 277 int NetworkSocket::readB ytesExact(byte * data, int length)277 int NetworkSocket::readBlock(byte * data, int length) 278 278 { 279 279 if (incomingBufferLength >= length) -
branches/network/src/lib/network/network_socket.h
r5725 r5729 80 80 int writeBytes(byte * data, int length); 81 81 int readBytes(byte * data, int length); 82 int readB ytesExact(byte * data, int length);82 int readBlock(byte * data, int length); 83 83 84 84 };
Note: See TracChangeset
for help on using the changeset viewer.