Project

General

Profile

Actions

UDP prototype » History » Revision 3

« Previous | Revision 3/9 (diff) | Next »
Greg Burri, 06/28/2009 10:24 AM


UDP prototype

Goals

  • Make a program which will listen for multicast message.
  • 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.
An alternative is to use a broadcast address with QHostAddress::Broadcast. It will only work with IPv4.

It's possible to use UDP multicast only with the low-level API. This solution is OS dependent and will not be accepted.

For the moment the broadcast alternative will be used.

References

Updated by Greg Burri over 15 years ago · 3 revisions