Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 May 2001 12:12:59 -0400 (EDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        Alfred Perlstein <bright@wintelcom.net>
Cc:        net@FreeBSD.ORG
Subject:   Re: getaddrinfo irritation
Message-ID:  <200105101612.MAA81594@khavrinen.lcs.mit.edu>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Thu, 10 May 2001 09:09:07 -0700, Alfred Perlstein <bright@wintelcom.net> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105101612.MAA81594>