tech-net archive

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

Re: getaddrinfo(3) on numerical addresses



On Tue, Oct 24, 2017 at 05:17:19PM +0200, Edgar Fuß wrote:
> > That's what AI_NUMERICHOST is for?
> No (or so I think).
> I would like to save the resolver lookup if we know beforehand we don't need it.

But that's the point of AI_NUMERICHOST. You don't know in advance if it
is necessary or not.

> 
> > It's not clear whether it should or should not parse the behavior
> I can't parse that sentence.

The gai implementation talks about the DNS fallback a bit and why it may
or may not be a bug.

Joerg


Home | Main Index | Thread Index | Old Index