On Mon, 7 Jul 2003 [EMAIL PROTECTED] wrote:

> I thought about that on the way home.  Perhaps the way to handle this is a
> pair of ifdefs (HAVE_GETADDRINFO and HAVE_GETHOSTBYNAME2) with a worst case
> fall-though to report failure.

    gethostbyname2 is not thread-safe, and thus should not be
    used by PHP.  The *info family of functions is portable to
    basically every IPv6 platform anyway, so we don't lose
    functionality.

    - Sascha

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to