Changeset 9850 in ntrip for trunk/BNC/src/upload
- Timestamp:
- Oct 17, 2022, 12:01:22 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncuploadcaster.cpp
r9795 r9850 308 308 delete _outSocket; _outSocket = 0; 309 309 int l = ans.indexOf("\r\n", 0); 310 emit(newMessage("Broadcaster: Connection broken for " + _mountpoint.toLatin1() + ": " + ans.left(l), true)); 311 } else { 312 emit(newMessage("Broadcaster: Connection opened for " + _mountpoint.toLatin1(), true)); 310 emit(newMessage("Broadcaster " + _casterOutHost.toLatin1() + ":" + QString("%1").arg(_casterOutPort).toLatin1() + 311 ": Connection broken for " + _mountpoint.toLatin1() + ": " + ans.left(l), true)); 312 } else { 313 emit(newMessage("Broadcaster" + _casterOutHost.toLatin1() + ":" + QString("%1").arg(_casterOutPort).toLatin1() + 314 ": Connection opened for " + _mountpoint.toLatin1(), true)); 313 315 _sOpenTrial = 0; 314 316 } … … 323 325 if (!_outSocket->waitForEncrypted(timeOut)) { 324 326 emit(newMessage( 325 "Broadcaster: Connect timeout for " + _mountpoint.toLatin1() + " (" 327 "Broadcaster " + _casterOutHost.toLatin1() + ":" + QString("%1").arg(_casterOutPort).toLatin1() + 328 ": Connect timeout for " + _mountpoint.toLatin1() + " (" 326 329 + outHost.toLatin1() + ":" 327 330 + QString("%1) ").arg(outPort).toLatin1() … … 330 333 return false; 331 334 } else { 332 emit(newMessage("Broadcaster: SSL handshake completed for " + _mountpoint.toLatin1(), true)); 335 emit(newMessage("Broadcaster " + _casterOutHost.toLatin1() + ":" + QString("%1").arg(_casterOutPort).toLatin1() + 336 ": SSL handshake completed for " + _mountpoint.toLatin1(), true)); 333 337 } 334 338 } else { 335 339 _outSocket->connectToHost(outHost, outPort); 336 340 if (!_outSocket->waitForConnected(timeOut)) { 337 emit(newMessage( 338 "Broadcaster: Connect timeout for " + _mountpoint.toLatin1() + " ("341 emit(newMessage("Broadcaster " + _casterOutHost.toLatin1() + ":" + QString("%1").arg(_casterOutPort).toLatin1() + 342 ": Connect timeout for " + _mountpoint.toLatin1() + " (" 339 343 + outHost.toLatin1() + ":" 340 344 + QString("%1) ").arg(outPort).toLatin1()
Note:
See TracChangeset
for help on using the changeset viewer.