---------- Forwarded message ----------
From: Pekka Pessi <[EMAIL PROTECTED]>
Date: Apr 10, 2006 5:07 PM
Subject: Re: [Sofia-sip-devel] Multi-Threading Problemes
To: [EMAIL PROTECTED]


On 3/31/06, Nickolay V. Shmyrev <[EMAIL PROTECTED]> wrote:
> >/"Aren't you using not reentrant function gethostbyname instead of reentrant 
> >gethostbyname_r?"/
> >
> >I'm using the sofia resolver, it does not use the gethostbyname function.
> >
> Well, not exactly you are using, but sofia is using, look at get_addr 
> function in su_addrinfo.c

That code in su_addrinfo.c is used when the C runtime does not provide
getaddrinfo() function. It could be fixed to use gethostbyname_r() -
but is there a platform which has gethostbyname_r() but no
getaddrinfo()?

--
Pekka.Pessi mail at nokia.com


--
Pekka.Pessi mail at nokia.com


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to