[lkml]   [2003]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Booting 2.5.63 vs 2.4.20 I can read multicast data
> On Monday,  3 March 2003, wrote:
> > I give the 2.5 series a try every once in a while and found the 2.5.63
> > booted and ran reasonably well.
> >
> > I happen to working on some multicast stuff and found that I can't
> > read multicast data when running 2.5.63.

On Tue, Mar 04, 2003 at 11:39:53PM +0100, Niels den Otter wrote:
> You appear to be strugling with the same problem I have. What I find is
> that the multicast application binds to the loopback instead of ethernet
> interface (also no IGMP joins are send out on the ethernet interface).
> Can you please check the output of 'netstat -n -g' and see if the
> multicast address shows up at the correct interface?

The apps I have vlc, and mpeg2dec (with mods) cannot read
multicast data under 2.5.63, but both work under 2.4.20.

I also have some PERL tools which do multicasting stuff and
they don't work any longer either.

However, I added 'eth0' to the IO::Socket::Multicast::mcast_add()
call and now the data is showing up.

I believe this means back in the C/C++ paradigm you can't rely on
INADDR_ANY to do the right thing. So you may have to set the
specific IP of the interface you want your multicast data to
come from in imr_interface.s_addr of the struct ip_mreq you pass
in via setsockopt( sock, IPPROTO_IP, IP_ADD_MEMBERSHIP, ...

I'll give this a try and let you know what I find.

Brian Litzinger
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:33    [W:0.057 / U:2.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site