On Mon, 10 Jul 2006, [EMAIL PROTECTED] wrote:

> I want to know if the sofia library contains a function to determine
> which is the local IP address?? If someone can help me....

Yes, we have just the thing - su_getlocalinfo():

http://sofia-sip.sourceforge.net/refdocs/su/su__localinfo_8c.html#df86b44462ce8c42835e2f47c97159a9

One difficulty that might arise is figuring out which one is the default 
address (to which the host's default route points) in case there are 
multiple local interfaces.

-- 
  under work: Sofia-SIP at http://sofia-sip.sf.net

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to