Changeset 383 in ntrip for trunk


Ignore:
Timestamp:
Jan 26, 2007, 4:27:51 PM (18 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bnccaster.cpp

    r382 r383  
    292292              sock->write(&begEpoch, 1);
    293293            }
    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            }
    299299          }
    300300        }
  • trunk/BNC/test_bnc_qt.cpp

    r382 r383  
    3131    if ( socket.bytesAvailable() ) {
    3232      int bytesRecv = socket.read(&flag, 1);
    33       cout << flag << endl;
    3433      if (flag == begObs) {
    3534        if ( socket.bytesAvailable() >= sizeof(obs) ) {
Note: See TracChangeset for help on using the changeset viewer.