[ds6-devel] gethostbyaddr() problem

Chris Leishman chris at leishman.org
Thu May 15 02:06:38 CEST 2003


On Thursday, May 15, 2003, at 01:42 AM, Kirk Bollinger wrote:
<snip>
> I found one reference that said gethostbyaddr didn't support AF_INET6 
> but
> other web sites seem to have it as supported.

For IPv6 (and most host lookups) gethostbyaddr seems to be deprecated 
in favor of getaddrinfo and friends.  You might like to take a look at 
those.  Also, download the source for netcat6 and have a look in 
network.c for examples of getaddrinfo use.

Regards,
Chris



More information about the ds6-devel mailing list