- Timestamp:
- Jan 7, 2009, 3:43:14 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bnccaster.cpp
r1399 r1450 80 80 _server = new QTcpServer; 81 81 if ( !_server->listen(QHostAddress::Any, _port) ) { 82 emit newMessage("bncCaster: cannot listen on sync port", true);82 emit newMessage("bncCaster: Cannot listen on sync port", true); 83 83 } 84 84 connect(_server, SIGNAL(newConnection()), this, SLOT(slotNewConnection())); … … 94 94 _uServer = new QTcpServer; 95 95 if ( !_uServer->listen(QHostAddress::Any, uPort) ) { 96 emit newMessage("bncCaster: cannot listen on usync port", true);96 emit newMessage("bncCaster: Cannot listen on usync port", true); 97 97 } 98 98 connect(_uServer, SIGNAL(newConnection()), this, SLOT(slotNewUConnection())); … … 218 218 void bncCaster::slotNewConnection() { 219 219 _sockets->push_back( _server->nextPendingConnection() ); 220 emit( newMessage(QString("New Connection# %1")220 emit( newMessage(QString("New client connection on sync port: # %1") 221 221 .arg(_sockets->size()).toAscii(), true) ); 222 222 } … … 224 224 void bncCaster::slotNewUConnection() { 225 225 _uSockets->push_back( _uServer->nextPendingConnection() ); 226 emit( newMessage(QString("New Connection (usync)# %1")226 emit( newMessage(QString("New client connection on usync port: # %1") 227 227 .arg(_uSockets->size()).toAscii(), true) ); 228 228 } … … 254 254 QString("Mountpoint size %1").arg(_staIDs.size()).toAscii(), true) ); 255 255 if (_staIDs.size() == 0) { 256 emit(newMessage("bncCaster: : last get thread terminated", true));256 emit(newMessage("bncCaster: Last get thread terminated", true)); 257 257 emit getThreadErrors(); 258 258 }
Note:
See TracChangeset
for help on using the changeset viewer.