<<On Thu, 10 May 2001 08:20:26 -0700, Alfred Perlstein <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to