From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Asynchronous DNS resolving Date: Sun, 15 Feb 2015 15:54:20 +1100 Message-ID: <87k2zjbwqr.fsf@building.gnus.org> References: <877fvmffrz.fsf@building.gnus.org> <54DDA602.7090504@cs.ucla.edu> <87d25ep8po.fsf@building.gnus.org> <87iof5i2db.fsf@building.gnus.org> <54DEE915.6090904@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1423976873 16710 80.91.229.3 (15 Feb 2015 05:07:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Feb 2015 05:07:53 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 15 06:07:43 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YMrQg-00031W-Oq for ged-emacs-devel@m.gmane.org; Sun, 15 Feb 2015 06:07:38 +0100 Original-Received: from localhost ([::1]:33568 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMrQf-0002gY-OS for ged-emacs-devel@m.gmane.org; Sun, 15 Feb 2015 00:07:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34152) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMrQY-0002gH-HB for emacs-devel@gnu.org; Sun, 15 Feb 2015 00:07:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YMrQT-0003Ic-Hp for emacs-devel@gnu.org; Sun, 15 Feb 2015 00:07:30 -0500 Original-Received: from smtp.syd.comcen.com.au ([203.23.236.77]:4616) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMrFt-0000Qa-LE for emacs-devel@gnu.org; Sat, 14 Feb 2015 23:56:30 -0500 Original-Received: from building.gnus.org ([27.96.197.126]) by smtp.syd.comcen.com.au (8.13.4/8.12.9) with ESMTP id t1F4sOXN096659; Sun, 15 Feb 2015 15:54:25 +1100 (EST) In-Reply-To: <54DEE915.6090904@cs.ucla.edu> (Paul Eggert's message of "Fri, 13 Feb 2015 22:20:05 -0800") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-comcen-MailScanner-Information: Please contact the ISP for more information X-comcen-MailScanner: Found to be clean X-comcen-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=0.118, required 4, AWL 0.02, BAYES_50 0.00, RDNS_NONE 0.10) X-comcen-MailScanner-From: larsi@gnus.org X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 203.23.236.77 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:183079 Archived-At: Paul Eggert 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/