Date: Sun, 29 Oct 2000 10:05:29 -0600 From: "Jacques A. Vidrine" <n@nectar.com> To: "JINMEI Tatuya / ?$B?@L@C#:H?(B" <jinmei@isl.rdc.toshiba.co.jp> Cc: freebsd-net@FreeBSD.ORG Subject: Re: getaddrinfo and the UNIX domain Message-ID: <20001029100529.B26020@spawn.nectar.com> In-Reply-To: <y7vvgucpcp4.wl@condor.isl.rdc.toshiba.co.jp>; from jinmei@isl.rdc.toshiba.co.jp on Sun, Oct 29, 2000 at 12:07:35PM %2B0900 References: <20001028163909.A77420@hamlet.nectar.com> <y7vvgucpcp4.wl@condor.isl.rdc.toshiba.co.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Oct 29, 2000 at 12:07:35PM +0900, JINMEI Tatuya / ?$B?@L@C#:H?(B wrote:
> By the way, in my understanding, if getaddrinfo supported PF_UNIX, it
> would take the filename as its 1st argument:
>
> getaddrinfo("/tmp/some-socket", NULL, &hints, &res);
In the absence of any standard, I think either way could be argued.
For example, as a counter argument,
The address parameter specifies a machine or network interface,
and in the local domain one there is only one possible machine.
Therefore, the address parameter should be NULL, and the service
parameter specifies the `port' or `SAP'.
--
Jacques Vidrine / n@nectar.com / jvidrine@verio.net / nectar@FreeBSD.org
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001029100529.B26020>
