Changeset 827 in ntrip
- Timestamp:
- Apr 15, 2008, 10:01:54 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bns.cpp
r826 r827 28 28 29 29 this->setTerminationEnabled(true); 30 30 31 _bnseph = 0; 31 32 _outSocket = 0; 32 33 _clkSocket = 0; 33 34 35 // Server listening for rtnet results 36 // ---------------------------------- 34 37 QSettings settings; 38 _clkServer = new QTcpServer; 39 _clkServer->listen(QHostAddress::Any, settings.value("clkPort").toInt()); 40 41 connect(_clkServer, SIGNAL(newConnection()), 42 this, SLOT(slotNewConnection()), Qt::DirectConnection); 43 35 44 QString outFileName = settings.value("outFile").toString(); 36 45 if (outFileName.isEmpty()) { … … 206 215 this, SLOT(slotError(const QByteArray))); 207 216 208 // Server listening for rtnet results209 // ----------------------------------210 QSettings settings;211 _clkServer = new QTcpServer;212 _clkServer->listen(QHostAddress::Any, settings.value("clkPort").toInt());213 214 connect(_clkServer, SIGNAL(newConnection()),this, SLOT(slotNewConnection()));215 216 217 // Endless loop 217 218 // ------------
Note:
See TracChangeset
for help on using the changeset viewer.