Changeset 8770 in ntrip


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

minor changes in ntrip 1 upload

Location:
trunk/BNC/src/upload
Files:
2 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  }
  • trunk/BNC/src/upload/bncuploadcaster.h

    r8275 r8770  
    55#include <QMutex>
    66#include <QTcpSocket>
     7#include <QNetworkProxy>
    78#include <QThread>
    89
Note: See TracChangeset for help on using the changeset viewer.