I've attached a self contained program that exhibits the problem. I'm hoping I've merely missed some detail...
Wes
------------------------------------------------------------------------
<snip>
I don't have any handy code right now to send multicast traffic, but you add your group properly, and I can see an igmp add request get sent, so your gateway should be letting you see those frames....
About the only wierd thing that I see is the use of read. I'm not certain, but I thought read only works on connection oriented sockets. Since you're opening this socket as datagram socket (as all multicast sockets are), you should probably switch the read call to be a recv/recvfrom or recvmsg call.
HTH Neil
-- /*************************************************** *Neil Horman *Software Engineer *Red Hat, Inc. *nhorman@redhat.com *gpg keyid: 1024D / 0x92A74FA1 *http://pgp.mit.edu ***************************************************/ - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html