Subject: Re: does getaddrinfo() behave correctly?
To: None <firstname.lastname@example.org>
From: Klaus Heinz <email@example.com>
Date: 09/16/2007 11:36:12
Michael van Elst wrote:
> There is no way for getaddrinfo() to deduce a protocol
> from just a port number.
> Giving it a hint that you want data for a SOCK_STREAM is
> enough and you get:
> result: 0 = Success
> flags: 0, family: 24, socktype: 1, protocol: 6
Thanks for your help. Now that I know what to look for I see that the
software author used hints before but not everywhere necessary.