Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jul 2001 18:44:27 +0200
From:      Bernd Walter <ticso@mail.cicely.de>
To:        Hajimu UMEMOTO <ume@mahoroba.org>
Cc:        ticso@mail.cicely.de, freebsd-net@FreeBSD.ORG
Subject:   Re: how to get AF_LOCAL from getaddrinfo()
Message-ID:  <20010714184427.C23031@cicely20.cicely.de>
In-Reply-To: <20010715.004217.07562357.ume@mahoroba.org>; from ume@mahoroba.org on Sun, Jul 15, 2001 at 12:42:17AM %2B0900
References:  <20010714134954.A23031@cicely20.cicely.de> <20010715.004217.07562357.ume@mahoroba.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 15, 2001 at 12:42:17AM +0900, Hajimu UMEMOTO wrote:
> >>>>> On Sat, 14 Jul 2001 13:49:55 +0200
> >>>>> Bernd Walter <ticso@mail.cicely.de> said:
> 
> ticso> ip = "/var/run/something"; portname = "/local";
> ticso> results in:
> ticso> getaddrinfo failed: servname not supported for ai_socktype
> 
> ticso> ip = "/var/run/something"; portname = NULL; 
> ticso> results in:
> ticso> getaddrinfo failed: No address associated with hostname
> 
> ticso> ip = "/var/run/something"; portname = NULL; hints.ai_family = AF_LOCAL
> ticso> results in:
> ticso> getaddrinfo failed: ai_family not supported
> 
> Our getaddrinfo(3) doesn't support AF_UNIX.

Arg - I looked into src/contrib/bin/lib/irs/getaddrinfo.c
The one in libc is different...

Any idea if it will be supported in a future version?

-- 
B.Walter              COSMO-Project         http://www.cosmo-project.de
ticso@cicely.de         Usergroup           info@cosmo-project.de


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?20010714184427.C23031>