pelican/emulator/src/AbstractUdpEmulator.cpp
/**
 * @details
 * Creates an open UDP socket. The socket will be deleted by the base class.
 */
@details
Creates an open UDP socket. The socket will be deleted by the base class.
@details Creates an open UDP socket . The socket will be deleted by the base class .
QIODevice* AbstractUdpEmulator::createDevice()
{
    QUdpSocket* socket = new QUdpSocket;
    socket->connectToHost(_host, _port);
    return socket;
}
QIODevice * AbstractUdpEmulator :: createDevice ( ) { QUdpSocket * socket = new QUdpSocket ; socket -> connectToHost ( _host , _port ) ; return socket ; }
@details
 Creates an open UDP socket.
@details Creates an open UDP socket .
//std::cout << "AbstractUdpEmulator::createDevice()" << std::endl; //while (!socket->bind(_host, _port)) { usleep(100); } //    socket->waitForConnected(-1); //std::cout << "AbstractUdpEmulator::createDevice() Connected!" << std::endl;