[Udpcast] UDP Multicast Programming question
John Newbigin
jnewbigin at ict.swin.edu.au
Tue Nov 7 23:29:04 CET 2006
I highly recommend the book "Unix Network Programming, Vol. 1: The
Sockets Networking API" ISBN: 0131411551
It covers socket programming and has a chapter on udp multicast.
Unfortunately it is windows winsock which does not conform to any
standards and I am yet to find any thorough documentation on it.
John.
tovis wrote:
> I'm C a programmer, looking for Linux UDP multicast programming
> documentation.
> Early I'm write some UDP multicast program for WIN32, using API, it is
> working on NT4.0 (loop back does not work, you can not switch off own
> packets), W2K and WINXP - where I/O completion port is exist.
> In WIn32 API you can simply setup an UDP socket, bind on apropriate
> interface address and after using IOCTL set ADD_MEMBERSHIP/DROP_MEMBERSHIP
> you can "join" to many groups _ at most I have tested is 4 groups like
> 224.0.0.xxx on the same port number (for example 6000).
> In Linux I had managed to use multicast UDP port but, it seem to be that
> it could not "join" to many groups, to receive packets, only one and you
> should bind on it (for example on 224.0.0.10:6000)!
> Is this right? One UDP socket could receive UDP packets only from one
> multicast group in Linux?
>
> Sincerelly
> tovis
>
>
> _______________________________________________
> Udpcast mailing list
> Udpcast at udpcast.linux.lu
> https://lll.lgl.lu/mailman/listinfo/udpcast
>
>
>
--
John Newbigin
Computer Systems Officer
Faculty of Information and Communication Technologies
Swinburne University of Technology
Melbourne, Australia
http://www.ict.swin.edu.au/staff/jnewbigin
More information about the Udpcast
mailing list