[Xorp-hackers] Multicast Programming
pavlin at icir.org
Thu Oct 4 02:53:39 PDT 2007
Luca Giraudo <luca.giraudo at gmail.com> wrote:
> I have modified the function to use the udp_open_and_bind with IPv4::ANY().
> Now it works. So the most important thing is to utilise IPv4::ANY() instead
> of IPv4Constants::any.
Could you clarify your last sentence. IPv4::ANY() and
IPv4Constants::any are practically same, so technically it shouldn't
make any difference which one you use (except that the former is
recommended for consistency reasons).
Also, could you confirm that you were able to use udp_join_group to
join the same multicast group on each interface you need.
Without udp_join_group you won't receive the multicast packets.
More information about the Xorp-hackers