[Live-devel] ourIPAddress method

Ross Finlayson finlayson at live555.com
Mon Jun 25 16:10:59 PDT 2012


> I finally have my new hardware platform available and am back working on streaming from our embedded device. Unfortunately the platform I have has two network adaptors active while debugging and I need to be able to select the correct one for the server. It appears the server IP is set up in ourIPAddress, of course it picks the wrong one.

It doesn't pick the 'wrong' one; it just picks a different one from the one that you wanted :-)

The easiest way to ensure that one particular interface is chosen is to make that interface the one for which multicast routing is enabled - i.e., the interface that has a route for 224.0.0.0/4


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120625/a876afff/attachment.html>


More information about the live-devel mailing list