El día Thursday, July 12, 2012 a las 09:01:50PM -0500, Robert Bonomi escribió:
> > > req.ai_flags = AI_ADDRCONFIG|AI_NUMERICHOST;
> > > req.ai_family = AF_INET6;/* Same as AF_INET6. */
>
> Isn't the setting of 'req.ai_family', above, going to guarantee that
> something that "looks lik
> From: Doug Hardie
> Date: Thu, 12 Jul 2012 14:21:38 -0700
> Subject: Re: IPv6 && getaddrinfo(3C)
>
> On 12 July 2012, at 07:24, Matthias Apitz wrote:
>
> > Hello,
> >
> > I'm playing around with IPv6 code on a FreeBSD 9 system and can'
On 12 July 2012, at 07:24, Matthias Apitz wrote:
>
> Hello,
>
> I'm playing around with IPv6 code on a FreeBSD 9 system and can't get
> getaddrinfo(3C) to do what it should do as stated in its man page:
> accept an IPv6 and IPv4 IP addr, it only works with the IPv6 form:
>
> $ ./a.out ::1
> ho
Hello,
I'm playing around with IPv6 code on a FreeBSD 9 system and can't get
getaddrinfo(3C) to do what it should do as stated in its man page:
accept an IPv6 and IPv4 IP addr, it only works with the IPv6 form:
$ ./a.out ::1
host: ::1
read: SSH-2.0-OpenSSH_5.6p1 FreeBSD-2010
$ ./a.out 127.0.