Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 2

Qt-interest Archive, August 2007
57952 - Multicast support for its new QUdpSocket class in Qt4


Message 1 in thread

Hey gang,

This works under Linux:

socket->bind(QHostAddress::Broadcast, 31337, QUdpSocket::ShareAddress);

but it doesn't work under Windows, so I've checked Task Tracker, and found:

http://trolltech.com/developer/task-tracker/index_html?method=entry&id=57952

so, apparently it is a known issue. The reporter advises:

socket->bind(QHostAddress( (quint32)0), 31337);


but it doesn't work either (readyRead() doesn't get signaled).


Does anyone have a tip?


Thanks


--
 [ signature omitted ]