|
From: | Paul Eggert |
Subject: | Re: Asynchronous DNS |
Date: | Sat, 20 Feb 2016 09:55:40 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
Lars Ingebrigtsen wrote:
I had assumed that getaddrinfo_a would have the normal timeouts that getaddrinfo has -- that it would say that it's failed after a certain number of seconds. Some testing here (switching off the wifi after issuing a DNS request) seems to indicate that that may not be the case?
My (admittedly limited) understanding is that getaddrinfo_a doesn't timeout, and that the normal way to specify timeouts is via gai_suspend.
[Prev in Thread] | Current Thread | [Next in Thread] |