[PyQt] QUdpSocket.joinMulticastGroup

David Kaufman david.kaufman at gmx.de
Thu Dec 22 21:09:02 GMT 2011


Hi there,

I'm currently developing a chat program where I'm sending Multicast
Messages. In order to do this, I beleive I have to join a multicast
group.
The Qt docs state clearly that there is such a function:
http://developer.qt.nokia.com/doc/qt-4.8/qudpsocket.html

The relevant code snippet: (full:
http://developer.qt.nokia.com/doc/qt-4.8/network-multicastsender-sender-cpp.html)
udpSocket = new QUdpSocket(this);
udpSocket->bind(45454, QUdpSocket::ShareAddress);
udpSocket->joinMulticastGroup(groupAddress);

Unfortunately there is no such method in the current PyQt4
implementation. Why is this the case? Will this method eventually be
available?

Greetings,
David Kaufman


More information about the PyQt mailing list