Project

General

Profile

UDP prototype » History » Version 3

Greg Burri, 06/28/2009 10:24 AM

1 1 Greg Burri
h1. UDP prototype
2
3
h2. Goals
4
5
* Make a program which will listen for multicast message.
6 2 Greg Burri
* It should be also able to send. User can type a message and all other peers will print it when it is sent.
7 1 Greg Burri
* Test it with some computers.
8
9 3 Greg Burri
h2. Qt and UDP multicast
10
11
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.
12
An alternative is to use a broadcast address with _QHostAddress::Broadcast_. It will only work with IPv4. 
13
14
It's possible to use UDP multicast only with the low-level API. This solution is OS dependent and will not be accepted.
15
16
For the moment the broadcast alternative will be used.
17 1 Greg Burri
18
h2. References
19
20
* http://en.wikipedia.org/wiki/Multicast