From owner-freebsd-net Sat Jul 14 8:43: 1 2001 Delivered-To: freebsd-net@freebsd.org Received: from peace.mahoroba.org (peace.calm.imasy.or.jp [202.227.26.34]) by hub.freebsd.org (Postfix) with ESMTP id 3F7B337B401 for ; Sat, 14 Jul 2001 08:42:57 -0700 (PDT) (envelope-from ume@mahoroba.org) Received: from localhost (IDENT:q+554qaysMu1+ErBuIKt2ujlPmTrelpMprA0pJRkSIOWn7VULOfmJUVFLIXiQfcO@localhost [::1]) (authenticated as ume with CRAM-MD5) by peace.mahoroba.org (8.11.4/8.11.4/peace) with ESMTP/inet6 id f6EFgLa75222; Sun, 15 Jul 2001 00:42:21 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Sun, 15 Jul 2001 00:42:17 +0900 (JST) Message-Id: <20010715.004217.07562357.ume@mahoroba.org> To: ticso@mail.cicely.de Cc: freebsd-net@freebsd.org Subject: Re: how to get AF_LOCAL from getaddrinfo() From: Hajimu UMEMOTO In-Reply-To: <20010714134954.A23031@cicely20.cicely.de> References: <20010714134954.A23031@cicely20.cicely.de> X-Mailer: xcite1.38> Mew version 1.95b119 on Emacs 20.7 / Mule 4.0 =?iso-2022-jp?B?KBskQjJWMWMbKEIp?= X-PGP-Public-Key: http://www.imasy.org/~ume/publickey.asc X-PGP-Fingerprint: 6B 0C 53 FC 5D D0 37 91 05 D0 B3 EF 36 9B 6A BC X-URL: http://www.imasy.org/~ume/ X-Operating-System: FreeBSD 5.0-CURRENT Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >>>>> On Sat, 14 Jul 2001 13:49:55 +0200 >>>>> Bernd Walter 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