Re: multicast issues

From: David Stevens
Date: Mon Mar 17 2008 - 15:24:19 EST


Your program is not specifying the interface on which to join
the multicast groups, for one thing. You can use "netstat -gn"
to verify that you joined it on the interface you want. If you
leave that as "INADDR_ANY", the system will pick an
interface which may or may not be the one you want. That's
on the client side.

I don't use python, so I'm not sure, but it appears that you
are not checking the return values of the system calls.
Doing that to see if there are failures in any of those would
also be a good idea.

You can also use wireshark or tcpdump in promiscuous
mode to verify that the packets are being sent on the
correct interface.

+-DLS

--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html