Changeset 634 in ntrip
- Timestamp:
- Dec 17, 2007, 12:35:35 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/BNC/bnccaster.cpp ΒΆ
r633 r634 272 272 } 273 273 sock->putChar(begObs); 274 char* bytes = new char[numBytes]; 275 memcpy(bytes, &obs->_o, numBytes); 276 for (int ii = 0; ii < numBytes; ii++) { 277 sock->putChar(bytes[ii]); 278 } 279 delete [] bytes; 274 sock->write((const char*) &obs->_o, numBytes); 280 275 if (!it.hasNext()) { 281 276 sock->putChar(endEpoch);
Note:
See TracChangeset
for help on using the changeset viewer.