Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jul 2001 00:42:17 +0900 (JST)
From:      Hajimu UMEMOTO <ume@mahoroba.org>
To:        ticso@mail.cicely.de
Cc:        freebsd-net@freebsd.org
Subject:   Re: how to get AF_LOCAL from getaddrinfo()
Message-ID:  <20010715.004217.07562357.ume@mahoroba.org>
In-Reply-To: <20010714134954.A23031@cicely20.cicely.de>
References:  <20010714134954.A23031@cicely20.cicely.de>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> 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.

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume@mahoroba.org  ume@bisd.hitachi.co.jp  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/

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?20010715.004217.07562357.ume>