From owner-freebsd-net Thu May 10 9:13: 9 2001 Delivered-To: freebsd-net@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 4B17437B422 for ; Thu, 10 May 2001 09:13:07 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id MAA81594; Thu, 10 May 2001 12:12:59 -0400 (EDT) (envelope-from wollman) Date: Thu, 10 May 2001 12:12:59 -0400 (EDT) From: Garrett Wollman Message-Id: <200105101612.MAA81594@khavrinen.lcs.mit.edu> To: Alfred Perlstein Cc: net@FreeBSD.ORG Subject: Re: getaddrinfo irritation In-Reply-To: <20010510090907.L18676@fw.wintelcom.net> References: <20010510082025.J18676@fw.wintelcom.net> <200105101540.LAA81367@khavrinen.lcs.mit.edu> <20010510090322.K18676@fw.wintelcom.net> <20010510090907.L18676@fw.wintelcom.net> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: > Shouldn't it do the mapping of addrhint.ai_protocol=6 (tcp) > into ai_socktype = SOCK_STREAM? No. In the socket model, the protocol is subordinate to the type of socket. (For example, XNS SPP can implements both SOCK_SEQPACKET and SOCK_STREAM.) -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message