[Live-devel] [live-devel] Specify network adapter

Lukasz Kondrad vlcplayer at gmail.com
Fri Jun 16 03:24:25 PDT 2006


On 6/15/06, Ross Finlayson <finlayson at live555.com> wrote:
>
>
> >My question: how can I specify on which network addapter shall
> >live555 look on.
>
> You can do this by setting the global variables "SenderInterfaceAddr"
> and/or "ReceivingInterfaceAddr", *before* creating network objects
> (e.g., groupsocks, RTPSources or RTPSinks).
>
> See the "case 'I':" code in "testProgs/playCommon.cpp" for an example
> of how "ReceivingInterfaceAddr" can be set.  (Alternatively, if you
> have just an IP address, rather than a domain name, you could call
> "our_inet_addr()" to set it.)



Hello,
Thanks for your answer,

I did as you said I set the ReceivingInterfaceAddr
ReceivingInterfaceAddr = our_inet_addr("130.230.12.126");

but some problem appers after execution:

Unable to determine our source address: no address

What could be wrong ??

Best regards
Lukasz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20060616/ce3c6353/attachment.html 


More information about the live-devel mailing list