Changeset 145 in ntrip for trunk/BNC/bncgetthread.cpp


Ignore:
Timestamp:
Sep 8, 2006, 8:16:59 PM (18 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncgetthread.cpp

    r144 r145  
    167167  // ------------------
    168168  while (true) {
     169
     170    if (_socket->state() != QAbstractSocket::ConnectedState) {
     171      emit(newMessage("Socket not connected, reconnecting"));
     172      tryReconnect();
     173    }
     174
    169175    _socket->waitForReadyRead(_timeOut);
    170176    qint64 nBytes = _socket->bytesAvailable();
Note: See TracChangeset for help on using the changeset viewer.