tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: getaddrinfo(3) on numerical addresses

> Date: Tue, 24 Oct 2017 10:00:44 -0700
> From: 神明達哉 <>
> I suspect there's some misunderstanding.  To be sure that we talk
> about the same thing, please let me ask you to have some experiment:
> - compile the pasted code below and name the executable, say, 'gai'
> - run the program as follows:
>   % RES_OPTIONS=debug 2001:db8::1234
> - also try this:
>   % RES_OPTIONS=debug

FYI, we have a program in base that will do this now, called
getaddrinfo(1).  The following should do the same thing:

getaddrinfo -f inet6 2001:db8::1234

Home | Main Index | Thread Index | Old Index