ccrtp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ccrtp-devel] multicast problem and possible fix


From: Federico Montesino Pouzols
Subject: Re: [Ccrtp-devel] multicast problem and possible fix
Date: Thu, 3 Jul 2003 08:54:18 +0200
User-agent: Mutt/1.5.4i

        Thank you for the patch, it is in CVS. I will probably add a
new parameter to the multicast constructor so that it is possible to
specify which interface you want to join on.

        If you upgrade to 1.0.2, rtplisten will distinguish mcast and
unicast addresses.

On Thu, Jul 03, 2003 at 12:56:10AM +0200, Luuk van Dijk wrote:
> Like others reported on this list I could not get my own application,
> nor demo/rtplisten.cpp to work with multicast/IPv4
> 
> I replaced InetHostAddress with InetMCastAddress in rtplisten.cpp, and
> saw in netstat, that an UDP socket was listened on with the multicast
> address, however, netstat -g did not report group membership.
> 
> tracing the ancient Multicast-HOWTO I found that joining a multicast
> group you have to give the unicast ip address of the interface you want
> to join to the multicast group.   strace-ing rtplisten I saw the join
> group return 'no such address'.  to cut a long story short:
> 
> diff -u ccrtp-1.0.1/src/ccrtp/rtp.h.orig ccrtp-1.0.1/src/ccrtp/rtp.h is
> attached 
> 
> This is the shortest patch that makes the modified rtplisten work, and
> netstat -g report membership.  As far as I understand, "0.0.0.0"
> instructs the kernel to worry about finding a physical interface for
> multicast reception. 
> 
> Thanks everyone for all your work on ccrtp.
> 
>       Luuk van Dijk
> 
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]