Changeset 8770 in ntrip for trunk/BNC/src/upload/bncuploadcaster.cpp
- Timestamp:
- May 23, 2019, 11:45:21 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncuploadcaster.cpp
r8733 r8770 143 143 144 144 _outSocket = new QTcpSocket(); 145 _outSocket->setProxy(QNetworkProxy::NoProxy); // Ntrip1: to prevet the usage of system entries 145 146 _outSocket->connectToHost(_outHost, _outPort); 146 147 147 148 const int timeOut = 5000; // 5 seconds 148 149 if (!_outSocket->waitForConnected(timeOut)) { 150 emit(newMessage("Broadcaster: Connect timeout for " + _mountpoint.toLatin1() 151 + "(" + _outHost.toLatin1() + "), " + _outSocket->errorString().toLatin1(), true)); 149 152 delete _outSocket; 150 153 _outSocket = 0; 151 emit(newMessage("Broadcaster: Connect timeout for " + _mountpoint.toLatin1(), true));152 154 return; 153 155 }
Note:
See TracChangeset
for help on using the changeset viewer.