- Timestamp:
- Nov 4, 2010, 6:52:48 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bnseph.cpp
r2618 r2644 90 90 const int timeOut = 30*1000; // 30 seconds 91 91 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")); 94 93 msleep(1000); 95 94 } … … 100 99 void t_bnseph::run() { 101 100 102 //emit(newMessage("bnseph::run Start")); 103 emit(newMessage("Ephemeris server: Connection opened")); // weber 101 emit(newMessage("bnseph::run: Start")); 104 102 105 103 while (true) { 106 104 if ( _socket == 0 || 107 (_socket->state() != QAbstractSocket::ConnectingState && 105 (_socket->state() != QAbstractSocket::HostLookupState && 106 _socket->state() != QAbstractSocket::ConnectingState && 108 107 _socket->state() != QAbstractSocket::ConnectedState) ) { 109 108 reconnect();
Note:
See TracChangeset
for help on using the changeset viewer.