Subject: Re: PF_UNIX in getaddrinfo(3)
To: Mario Kemper <magick@zhadum.de>
From: None <itojun@iijlab.net>
List: tech-net
Date: 02/18/2002 11:54:41
>i'm porting an application from Linux to NetBSD. The author uses
>unix domain socket as well as ip sockets. He uses getaddrinfo in both 
>cases. While this seems to be no problem under Linux it fails under NetBSD
>as PF_UNIX (PF_LOCAL) is explicitly not supported under NetBSD (PF_LOCAL is
>#ifdef'ed 0 in getaddrinfo.c). Is there a specific reason for this? 
>Does PF_LOCAL violate some standard or is it simply not yet implemented?

	unlike other protocol families, PF_UNIX/LOCAL requires unlink()
	after close().  therefore it is not a good one from protocol
	independent programming POV.

itojun