Dossy Shiobara wrote:
AOLserver 3.4.2 uses the old (not thread-safe) gethostbyname() and getaddrbyname() functions. AOLserver 4.0.9 will use the newer and according to specifications, thread-safe, getaddrinfo() and getnameinfo() functions.
However, it appears that some platforms haven't implemented these "new" (if you consider 1999 "new") functions correctly and/or to spec.
FreeBSD certainly implements getnameinfo() and has done for some time.
I'd search the FreeBSD bug database (assuming it exists) for any open bugs filed against getnameinfo() and/or getaddrinfo().
I can't see any bugs listed, though I'll certainly look further into it. The only caveat I can see is in the man page:
"Though the current implementation should be thread-safe, using getnameinfo() in conjunction with gethostby*() breaks thread-safeness."
-- Dossy
Thanks, John.
-- AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
