[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [idn] The layers and character handling in DNS
> *If* (and this isn't obvious to me) there is a need for APIs
> that encapsulte ace encoding (or ace + nameprep) together with
> the IP address lookups I think it would make sense to look
> at getaddrinfo() and getnameinfo().
> Those APIs are recommended for IPv6 address lookups *and* they
> have flags fields that it easy to extended the e.g. for IDN purposes.
getxxxinfo also avoids a huge design flaw in gethostbyxxx -
getxxxinfo can indicate temporary failures.
Keith