Changeset 4809 in ntrip for trunk/BNC/src/upload
- Timestamp:
- Jan 1, 2013, 11:25:28 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncuploadcaster.cpp
r4808 r4809 37 37 _iRow = iRow; 38 38 _rate = rate; 39 if (_rate < 5) {40 _rate = 5;39 if (_rate < 0) { 40 _rate = 0; 41 41 } 42 42 else if (_rate > 60) { … … 89 89 _outSocket->flush(); 90 90 emit newBytes(_mountpoint.toAscii(), _outBuffer.size()); 91 _outBuffer.clear(); 91 if (_rate == 0) { 92 _outBuffer.clear(); 93 } 92 94 } 93 95 } 94 sleep(_rate); 96 if (_rate == 0) { 97 sleep(1); 98 } 99 else { 100 sleep(_rate); 101 } 95 102 } 96 103 }
Note:
See TracChangeset
for help on using the changeset viewer.