Changeset 10227 in ntrip for trunk/BNC/src/upload/bncuploadcaster.cpp
- Timestamp:
- Oct 20, 2023, 9:45:38 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncuploadcaster.cpp
r10221 r10227 163 163 if (_ntripVersion == "1") { 164 164 _outSocket->write(_outBuffer); 165 _outSocket->flush(); 165 166 } else { 166 167 QString chunkSize = QString("%1").arg(_outBuffer.size(), 0, 16, QLatin1Char('0')); 167 168 QByteArray chunkedData = chunkSize.toLatin1() + "\r\n" + _outBuffer + "\r\n"; 168 169 _outSocket->write(chunkedData); 170 _outSocket->flush(); 169 171 } 170 _outSocket->flush();171 172 emit newBytes(_mountpoint.toLatin1(), _outBuffer.size()); 172 173 }
Note:
See TracChangeset
for help on using the changeset viewer.