Ignore:
Timestamp:
May 23, 2019, 11:45:21 AM (5 years ago)
Author:
stuerze
Message:

minor changes in ntrip 1 upload

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/upload/bncuploadcaster.cpp

    r8733 r8770  
    143143
    144144  _outSocket = new QTcpSocket();
     145  _outSocket->setProxy(QNetworkProxy::NoProxy); // Ntrip1: to prevet the usage of system entries
    145146  _outSocket->connectToHost(_outHost, _outPort);
    146147
    147148  const int timeOut = 5000;  // 5 seconds
    148149  if (!_outSocket->waitForConnected(timeOut)) {
     150    emit(newMessage("Broadcaster: Connect timeout for " + _mountpoint.toLatin1()
     151         + "(" + _outHost.toLatin1() + "), " + _outSocket->errorString().toLatin1(), true));
    149152    delete _outSocket;
    150153    _outSocket = 0;
    151     emit(newMessage("Broadcaster: Connect timeout for " + _mountpoint.toLatin1(), true));
    152154    return;
    153155  }
Note: See TracChangeset for help on using the changeset viewer.