From owner-freebsd-net Sat Jul 14 9:43:49 2001 Delivered-To: freebsd-net@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id D9A3B37B401 for ; Sat, 14 Jul 2001 09:43:45 -0700 (PDT) (envelope-from ticso@mail.cicely.de) Received: from mail.cicely.de (cicely20 [10.1.1.22]) by srv1.cosmo-project.de (8.11.0/8.11.0) with ESMTP id f6EGheV79705; Sat, 14 Jul 2001 18:43:40 +0200 (CEST) Received: (from ticso@localhost) by mail.cicely.de (8.11.0/8.11.0) id f6EGiSv23615; Sat, 14 Jul 2001 18:44:28 +0200 (CEST) Date: Sat, 14 Jul 2001 18:44:27 +0200 From: Bernd Walter To: Hajimu UMEMOTO 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> References: <20010714134954.A23031@cicely20.cicely.de> <20010715.004217.07562357.ume@mahoroba.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010715.004217.07562357.ume@mahoroba.org>; from ume@mahoroba.org on Sun, Jul 15, 2001 at 12:42:17AM +0900 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 Sun, Jul 15, 2001 at 12:42:17AM +0900, Hajimu UMEMOTO wrote: > >>>>> 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. 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