On Mon, Feb 21, 2005 at 03:56:40PM +0100, Matthias Andree wrote:
> Note that gethostbyname() only resolves AF_INET addresses, i. e. IPv4,
> ltrace (on SuSE Linux 9.2) reveals that gethostbyname returns NULL. This
> is correct behavior. POSIX:

> The glibc manual page is bogus and doesn't match the info file or actual
> behavior and needs to be fixed. Please file a bug report against glibc.

The manual page isn't actually from glibc.  

Advising applications to watch out for AAAA addresses being returned by
IPv6 lookups is actually sensible behaviour since there's a RFC 2133
specified resolver option inet6 which can result in IPv6 addresses being
returned by gethostbyname().

-- 
"You grabbed my hand and we fell into it, like a daydream - or a fever."


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to