Subject: Re: IPv6 with gethostbyname2 and gethostbyaddr
To: None <itojun@iijlab.net>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-net
Date: 07/10/2002 14:36:27
On Fri, 5 Jul 2002 itojun@iijlab.net wrote:
> here's the working version so far, but i really recommend you to
Thanks. I really appreciate your comments and modified code!
> use getaddrinfo/getnameinfo, it's easier and clean.
I'll learn that next.
> the code is not totally correct as it passes numeric form (::1)
> to gethostbyname2(), which does not work.
Okay.
By the way, parts of the sample code I posted is used in the net/gethost
package.
Jeremy C. Reed
http://www.reedmedia.net/