- Timestamp:
- Jan 26, 2007, 4:27:51 PM (18 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bnccaster.cpp
r382 r383 292 292 sock->write(&begEpoch, 1); 293 293 } 294 ////sock->write(&begObs, 1);295 ////sock->write((char*) obs, numBytes);296 ////if (!it.hasNext()) {297 ////sock->write(&endEpoch, 1);298 ////}294 sock->write(&begObs, 1); 295 sock->write((char*) obs, numBytes); 296 if (!it.hasNext()) { 297 sock->write(&endEpoch, 1); 298 } 299 299 } 300 300 } -
trunk/BNC/test_bnc_qt.cpp
r382 r383 31 31 if ( socket.bytesAvailable() ) { 32 32 int bytesRecv = socket.read(&flag, 1); 33 cout << flag << endl;34 33 if (flag == begObs) { 35 34 if ( socket.bytesAvailable() >= sizeof(obs) ) {
Note:
See TracChangeset
for help on using the changeset viewer.