Important: Please read the Qt Code of Conduct -

JoinMulticastGroup Fail with Unknown Error Linux

  • Hi,
    I have a big problem, I developed an application that join a Multicast group ( port 3665), in Windows all done! it's fine. porting application in Linux and JoinMulticastGroup Fail with error -1 (unknown).
    Linux Firewall is OFF. Linux is a Mint 14.

    QtCreator 2.8.1 on Qt 5.1.1 and GCC 4.6.1 32bit. Local eth0 IP is

    The only strange warning I have is in Application output at App start it show this:
    "Debugging starts
    &"warning: GDB: Failed to set controlling terminal: Inappropriate ioctl for device\n"

    here is simple test code:

    @ QUdpSocket *consolesUdpSocket = new QUdpSocket(this);

    if(!(consolesUdpSocket->bind(QHostAddress(""),3665, QUdpSocket::ShareAddress)))
        return ;
    QUdpSocket::SocketError  e;
    e = QUdpSocket::TemporaryError;
        return ;
    connect(consolesUdpSocket, SIGNAL(readyRead()),
            this, SLOT(processConsolesPendingDatagrams()));
    delete consolesUdpSocket;


    Thank's a lot

  • Anyone can help me??

  • Please I need help ... my brain is near to explosion!!

Log in to reply