Changeset 8770 in ntrip
- Timestamp:
- May 23, 2019, 11:45:21 AM (6 years ago)
- Location:
- trunk/BNC/src/upload
- Files:
-
- 2 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 } -
trunk/BNC/src/upload/bncuploadcaster.h
r8275 r8770 5 5 #include <QMutex> 6 6 #include <QTcpSocket> 7 #include <QNetworkProxy> 7 8 #include <QThread> 8 9
Note:
See TracChangeset
for help on using the changeset viewer.