[Live-devel] GroupsockHelper.cpp ReceivingInterfaceAddr
Arnold Liu
asliu23 at yahoo.com
Mon Oct 25 17:08:55 PDT 2004
Greetings All,
I have a Linux system with multiple ethernet
interfaces, and was attempting to configure the
"liveMedia" test program "testWAVAudioStreamer" to use
something other than the default eth0 (which works
fine by the way).
I attempted to hack the two variables in
"GroupsockHelper.cpp" - SendingInterfaceAddr, and
ReceivingInterfaceAddr to force the use of a
particular interface. Here is what I've seen :
eth0 : 172.16.2.174
eth1 : 192.168.1.1
If Sending = INADDR_ANY, receiving = INADDR_ANY, this
works, and packets go out to eth0
If Sending = eth0, Receiving = INADDR_ANY, this works,
and packets go out to eth0
If Sending = eth0, Receiving = eth0, this does _not_
work, "OurSourceAddressForMulticast()" times out
waiting for the dummy packet.
If Sending = eth1, Receiving = INADDR_ANY, this also
times out waiting for the dummy packet.
If Sending = eth1, Receiving = eth1, this also times
out waiting for the dummy packet.
Was curious if anyone else has had any experience
using this library on different interfaces?
Regards,
Arnold
More information about the live-devel
mailing list