Date: Thu, 10 May 2001 11:40:49 -0400 (EDT) From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> To: Alfred Perlstein <bright@wintelcom.net> Cc: net@FreeBSD.ORG Subject: getaddrinfo irritation Message-ID: <200105101540.LAA81367@khavrinen.lcs.mit.edu> In-Reply-To: <20010510082025.J18676@fw.wintelcom.net> References: <20010510082025.J18676@fw.wintelcom.net>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On Thu, 10 May 2001 08:20:26 -0700, Alfred Perlstein <bright@wintelcom.net> said: > Using "our" APIs (getaddrinfo) is causing me much pain because I can't > figure out how to map "tcp" -> SOCK_STREAM. You don't. In the `hints' structure, you pass in ai_socktype == SOCK_STREAM. This is clearly documented in the manual page. -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?200105101540.LAA81367>