Changeset 5724 in orxonox.OLD for branches/network/src
- Timestamp:
- Nov 23, 2005, 2:43:29 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_stream.cc
r5723 r5724 19 19 */ 20 20 #define DEBUG_MODULE_NETWORK 21 #define PACKAGE_SIZE =821 #define PACKAGE_SIZE 8 22 22 23 23 #include "base_object.h" … … 106 106 /* UPSTREAM */ 107 107 /* first read 10bytes of data (debug) */ 108 //while(ret == 0) { ret = this->networkSocket->readBytes(upData,PACKAGE_SIZE);} 108 109 while(ret == 0) { this->networkSocket->readBytes(upData,PACKAGE_SIZE);} 110 111 109 112 /* error checking: data read? */ 110 113 if( ret != 10) { PRINTF(0)("Error while reading data from the NetworkSocket\n");}
Note: See TracChangeset
for help on using the changeset viewer.