- Timestamp:
- Sep 20, 2008, 1:04:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bnscaster.cpp
r1123 r1124 98 98 settings.value("outPort").toInt()); 99 99 100 const int timeOut = 100; // 0.1seconds100 const int timeOut = 5000; // 5 seconds 101 101 if (!_outSocket->waitForConnected(timeOut)) { 102 102 delete _outSocket; 103 103 _outSocket = 0; 104 emit(error(" bns::openCasterConnect Timeout"));104 emit(error("t_bnscaster::open Connect Timeout")); 105 105 return; 106 106 } … … 121 121 delete _outSocket; 122 122 _outSocket = 0; 123 emit(newMessage(" bns::openCastersocket deleted"));123 emit(newMessage("t_bnscaster::open socket deleted")); 124 124 } 125 125 else { 126 emit(newMessage(" bns::openCastersocket OK"));126 emit(newMessage("t_bnscaster::open socket OK")); 127 127 _outSocketOpenTrial = 0; 128 128 }
Note:
See TracChangeset
for help on using the changeset viewer.