< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate] thread-safe version of gethostbyname for mac OSX


Jason Fischl wrote:

Is there a version of gethostbyname that is thread-safe on MAC? On
most operating systems there is a function gethostbyname_r that is
thread-safe. gethostbyname returns a pointer to static memory and is
thus not reentrant. Trying to fix DnsUtil for MAC.
Could this be why my program cannot resolve the proper IP address
of "sip:myuser@xxxxxxxxxx" if I have a seperate SIP server on
the same domain as the web server?  But on a different machine
in the domain with a different IP address.  For the time being,
I have to use a hard coded IP address until I can figure out
why it's not resolving properly.

Jason, are you also working on a Mac Implmentation of resip?
I want to talk to you,  if you are....

Can Mac folks chime in here.

Consider me "chimed in"  :-)   But let me look at some of my notes and
see what I can come up with.

John