Changeset 819 in ntrip for trunk


Ignore:
Timestamp:
Apr 9, 2008, 3:53:05 PM (17 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bns.cpp

    r818 r819  
    144144                            settings.value("outPort").toInt());
    145145
     146  const int timeOut = 100;  // 0.1 seconds
     147  if (!_outSocket->waitForConnected(timeOut)) {
     148    delete _outSocket;
     149    _outSocket = 0;
     150    emit(error("bns::openCaster Connect Timeout"));
     151  }
     152
     153
    146154  QString mountpoint = settings.value("mountpoint").toString();
    147155  QString password   = settings.value("password").toString();
Note: See TracChangeset for help on using the changeset viewer.