unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Subject: Re: Asynchronous DNS resolving
Date: Sun, 15 Feb 2015 15:54:20 +1100	[thread overview]
Message-ID: <87k2zjbwqr.fsf@building.gnus.org> (raw)
In-Reply-To: <54DEE915.6090904@cs.ucla.edu> (Paul Eggert's message of "Fri, 13 Feb 2015 22:20:05 -0800")

Paul Eggert <eggert@cs.ucla.edu> 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/



  reply	other threads:[~2015-02-15  4:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-13  7:10 Asynchronous DNS resolving Lars Ingebrigtsen
2015-02-13  7:21 ` Paul Eggert
2015-02-13  7:32   ` Lars Ingebrigtsen
2015-02-13  7:58     ` Paul Eggert
2015-02-13 19:20     ` Stefan Monnier
2015-02-14  0:06       ` chad
2015-02-14  3:44       ` Lars Ingebrigtsen
2015-02-14  6:20         ` Paul Eggert
2015-02-15  4:54           ` Lars Ingebrigtsen [this message]
2015-02-13  8:46 ` Eli Zaretskii
2015-02-13  9:02   ` Lars Ingebrigtsen
2015-02-15  5:31     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k2zjbwqr.fsf@building.gnus.org \
    --to=larsi@gnus.org \
    --cc=eggert@cs.ucla.edu \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).