Actions
UDP prototype¶
Goals¶
- Make a program which will listen for multicast message.
- It must be work between sub-networks (vlan).
- It should be also able to send. User can type a message and all other peers will print it when it is sent.
- Test it with some computers.
Qt and UDP multicast¶
There is no support to UDP multicast in QT4.5 according this bug issue : http://www.qtsoftware.com/developer/task-tracker/index_html?method=entry&id=57952.
But it's possible to use setsockopt() with QAbstractSocket::socketDescriptor(). See http://linux.die.net/man/7/ip and options for multicast like IP_ADD_MEMBERSHIP.
References¶
Updated by Greg Burri over 15 years ago · 9 revisions