pelican/output/src/TCPConnectionManager.cpp
/**
 * @details
 * Run the TCP server, listening for incoming client requests
 */
@details
Run the TCP server, listening for incoming client requests
@details Run the TCP server listening for incoming client requests
void TCPConnectionManager::run()
{
    if (!_tcpServer->listen(QHostAddress::Any, _port)) {
        std::cerr << QString("Unable to start QTcpServer: %1").
                arg(_tcpServer->errorString()).toStdString();
    }
    else {
        connect(_tcpServer, SIGNAL(newConnection()), this,
                SLOT(acceptClientConnection()), Qt::DirectConnection );
    }
}
void TCPConnectionManager :: run ( ) { if ( ! _tcpServer -> listen ( QHostAddress :: Any , _port ) ) { std :: cerr << QString ( " " ) . arg ( _tcpServer -> errorString ( ) ) . toStdString ( ) ; } else { connect ( _tcpServer , SIGNAL ( newConnection ( ) ) , this , SLOT ( acceptClientConnection ( ) ) , Qt :: DirectConnection ) ; } }
@details
 Run the TCP server, listening for incoming client requests
@details Run the TCP server listening for incoming client requests
// Start TCP Server, which listens for incoming connections