Subject: Re: getaddrinfo and numeric IP addresses
To: Christoph Kaegi <firstname.lastname@example.org>
From: None <email@example.com>
Date: 05/06/2003 15:18:24
>I hope, this is not too offtopic:
>Why does the following code not do, what the manpage suggests it should?
>On my NetBSD 1.6.1 box it says: "Hostname is (null)"
>On Solaris it says: "Hostname is 188.8.131.52"
>Both do not return the canonical hostname.
>Am I missing something?
the standard NetBSD 1.6.1 is based (RFC2553) does not have any
recommendation for ai_canonname value. new standard (RFC3493)
recommends Solaris behavior. in the near future NetBSD will behave
as RFC3493 suggests.