[EMAIL PROTECTED] wrote on 01/07/2006 08:13:17 AM:

> I've encountered the following problem: when a UDP socket was bound
> to a specific interface and a multicast group was joined, no packets
> sent to that multicast group were delivered to the application. If the 
> socket was not bound to a specific interface, packets were delivered
> correctly.

        A bound socket will only receive packets that match the binding.
If you want to receive packets sent to a particular multicast address,
you need to bind to that address.
        Group membership is per-interface, not per-socket. You can join
a group on a socket that cannot receive packets from that group. 
Similarly,
you don't have to join a group on a particular socket to receive multicast
packets from that group, as long as the binding matches and someone on the
machine has joined that group.

                                                +-DLS

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to