Changeset 2644 in ntrip for trunk/BNS


Ignore:
Timestamp:
Nov 4, 2010, 6:52:48 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bnseph.cpp

    r2618 r2644  
    9090  const int timeOut = 30*1000;  // 30 seconds
    9191  if (!_socket->waitForConnected(timeOut)) {
    92 //  emit(newMessage("bnseph::run Connect Timeout"));
    93     emit(newMessage("Ephemeris server: Connection timeout")); // weber
     92    emit(newMessage("bnseph::reconnect: Connect Timeout"));
    9493    msleep(1000);
    9594  }
     
    10099void t_bnseph::run() {
    101100
    102 //emit(newMessage("bnseph::run Start"));
    103   emit(newMessage("Ephemeris server: Connection opened")); // weber
     101  emit(newMessage("bnseph::run: Start"));
    104102
    105103  while (true) {
    106104    if ( _socket == 0 ||
    107          (_socket->state() != QAbstractSocket::ConnectingState &&
     105         (_socket->state() != QAbstractSocket::HostLookupState &&
     106          _socket->state() != QAbstractSocket::ConnectingState &&
    108107          _socket->state() != QAbstractSocket::ConnectedState) ) {
    109108      reconnect();
Note: See TracChangeset for help on using the changeset viewer.