Changeset 9757 in ntrip
- Timestamp:
- Jun 2, 2022, 2:19:35 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncuploadcaster.cpp
r9748 r9757 160 160 if (_ntripVersion == "1") { 161 161 _outSocket->write(_outBuffer); 162 _outSocket->flush();163 162 } else { 164 163 QString chunkSize = QString("%1").arg(_outBuffer.size(), 0, 16, QLatin1Char('0')); 165 164 QByteArray chunkedData = chunkSize.toLatin1() + "\r\n" + _outBuffer + "\r\n"; 166 165 _outSocket->write(chunkedData); 167 _outSocket->flush();168 166 } 167 _outSocket->flush(); 169 168 emit newBytes(_mountpoint.toLatin1(), _outBuffer.size()); 170 169 }
Note:
See TracChangeset
for help on using the changeset viewer.