netdev
[Top] [All Lists]

Re: Fw: F_SETSIG broken/changed in 2.6 for UDP and TCP sockets?

To: Andrew Morton <akpm@xxxxxxxx>
Subject: Re: Fw: F_SETSIG broken/changed in 2.6 for UDP and TCP sockets?
From: David Stevens <dlstevens@xxxxxxxxxx>
Date: Tue, 1 Jun 2004 14:19:04 -0600
Cc: netdev@xxxxxxxxxxx, Russell Leighton <russ@xxxxxxxxxxxxxxxxxxxx>
In-reply-to: <20040531151843.7144dfce.akpm@osdl.org>
Sender: netdev-bounce@xxxxxxxxxxx
> In the udp case, I when I listen for multicast packets my app only
> receives them when I am running a tcpdump (bizarre!).

Russ,
        This piece (which I expect has nothing to do with the other
problems you mentioned) sounds like you haven't joined the groups on
the interface on which you're receiving the multicast packets.
"tcpdump" will place the interface in "promiscuous mode" which will
receive all packets, and ordinary packet delivery will allow
the application to receive them, even if you haven't joined the group
on the relevant interface.
        To verify if the group joins is broken, you can look at
/proc/net/igmp. If the groups you're joining are not listed on the
interface you want, the program isn't joining the groups correctly.
Group membership is per-interface, so joining a group on one interface
does not join it on another.
        Feel free to contact me if you need some help debugging the
multicast problem.

                                                        +-DLS


<Prev in Thread] Current Thread [Next in Thread>