Changeset 5731 in orxonox.OLD for branches/network
- Timestamp:
- Nov 23, 2005, 2:59:02 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_stream.cc
r5730 r5731 22 22 23 23 #include "base_object.h" 24 //#include "network_protocol.h"24 #include "network_protocol.h" 25 25 #include "network_socket.h" 26 26 #include "connection_monitor.h" … … 108 108 /* first read 10bytes of data (debug) */ 109 109 110 while(ret == 0) { ret = this->networkSocket->readBytes((byte*)upBuffer,PACKAGE_SIZE);} 110 ret = 0; 111 while(ret == 0) { ret = this->networkSocket->readBlock((byte*)upBuffer,PACKAGE_SIZE);} 111 112 112 113
Note: See TracChangeset
for help on using the changeset viewer.