[Live-devel] Multicast Interface Addr

David Betrand bidibulle at operamail.com
Wed May 30 11:19:32 PDT 2007


Hello xochitl,
I had a similar issue some time ago. Try to get your loopback address before setting your listening interfaces, this fixed my problem :

// first
netAddressBits ourAddress = ourSourceAddressForMulticast(*env);

// then
SendingInterfaceAddr = ...
ReceivingInterfaceAddr = ....

Best regards,
David
> ----- Original Message -----
> From: xcsmith at rockwellcollins.com
> To: live-devel at ns.live555.com
> Subject: [Live-devel] Multicast Interface Addr
> Date: Wed, 30 May 2007 11:12:59 -0500
> 
> 
> I have an issue where if I set the Sending- and ReceivingInterfaceAddr to
> eth1, I cannot receive multicast data.  I set them as the first 2 lines of
> my main() function like this:
> SendingInterfaceAddr = our_inet_addr("10.145.223.24");
> ReceivingInterfaceAddr = our_inet_addr("10.145.223.24");
> I have multicast enabled on exactly 1 NIC (eth1 - 10.145.223.24) on my
> host computer.  When I set the sending and receiving address to eth1,
> multicast loopback fails.  When I do not set the address, multicast
> loopback succeeds.  The failure is in function blockUntilReadable().  The
> read apparently times out if ReceivingInterfaceAddr is set.  I don't
> understand why this is happening.  I need to be able to set the Sending
> and ReceivingInterfaceAddr because my target computer will have multiple
> NICs with multicast enabled. Do you have any suggestions on what I can
> check or try?
> 
> Thanks!
> xochitl
> 
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel

>


-- 
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com

Powered by Outblaze


More information about the live-devel mailing list