> And finally, I tried :
> ------------------------------------------
> bind(sock, ONE_INTERFACE, MY_PORT);
> ------------------------------------------
> First instance : Tx ok, doesn't Rx anything at all. I can
> understand why, the Rx packet don't have a dest IP address matching
> ONE_INTERFACE.
This is the correct approach, I think. Have you tried adding the two
setsockopt() calls after the bind, or at the very least the
IP_ADD_MEMBERSHIP one, to see if you can Rx? Otherwise quite obviously
your physical interface will not have the multicast MAC address added to
its filters and no packets will reach the IP stack.
'ip maddr ls' is a useful tool for inspecting what your NIC is letting
through.
Ion
-- It is better to keep your mouth shut and be thought a fool, than to open it and remove all doubt. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/