Subject: Re: getaddrinfo and numeric IP addresses
To: Christoph Kaegi <>
From: None <>
List: tech-userlevel
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"
>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.