[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Asynchronous DNS resolving
From: |
Lars Ingebrigtsen |
Subject: |
Re: Asynchronous DNS resolving |
Date: |
Sun, 15 Feb 2015 15:54:20 +1100 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
Paul Eggert <address@hidden> writes:
> Lars Ingebrigtsen wrote:
>> Is getaddrinfo_a available on all the platforms we care about? Or is
>> there a gnulib module for compatibility or something?
>
> There isn't a gnulib module for it. It should be reasonably easy to
> add one, though, that falls back on getaddrinfo if getaddrinfo_a
> doesn't exist. Or perhaps we could just borrow the glibc
> implementation, though that'd be more work.
Writing a version that has an async callback when using getaddrinfo
would be rather difficult, I'd guess?
> As far as I know only glibc supports it natively.
Right, so this would not work on Windows and OS X, probably?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
- Asynchronous DNS resolving, Lars Ingebrigtsen, 2015/02/13
- Re: Asynchronous DNS resolving, Paul Eggert, 2015/02/13
- Re: Asynchronous DNS resolving, Lars Ingebrigtsen, 2015/02/13
- Re: Asynchronous DNS resolving, Paul Eggert, 2015/02/13
- Re: Asynchronous DNS resolving, Stefan Monnier, 2015/02/13
- Re: Asynchronous DNS resolving, chad, 2015/02/13
- Re: Asynchronous DNS resolving, Lars Ingebrigtsen, 2015/02/13
- Re: Asynchronous DNS resolving, Paul Eggert, 2015/02/14
- Re: Asynchronous DNS resolving,
Lars Ingebrigtsen <=
Re: Asynchronous DNS resolving, Eli Zaretskii, 2015/02/13