From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: Async DNS lookups Date: Sat, 30 Oct 2010 08:34:14 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87wrozx0rt.fsf@lifelogs.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1288445686 31214 80.91.229.12 (30 Oct 2010 13:34:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 30 Oct 2010 13:34:46 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 30 15:34:43 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PCBZy-0006d0-OL for ged-emacs-devel@m.gmane.org; Sat, 30 Oct 2010 15:34:43 +0200 Original-Received: from localhost ([127.0.0.1]:33653 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PCBZy-0006KJ-7a for ged-emacs-devel@m.gmane.org; Sat, 30 Oct 2010 09:34:42 -0400 Original-Received: from [140.186.70.92] (port=48644 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PCBZp-0006Jm-JI for emacs-devel@gnu.org; Sat, 30 Oct 2010 09:34:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PCBZk-0000rP-3z for emacs-devel@gnu.org; Sat, 30 Oct 2010 09:34:33 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:39796) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PCBZj-0000qq-UZ for emacs-devel@gnu.org; Sat, 30 Oct 2010 09:34:28 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PCBZg-0006Tu-Qd for emacs-devel@gnu.org; Sat, 30 Oct 2010 15:34:24 +0200 Original-Received: from c-24-14-16-248.hsd1.il.comcast.net ([24.14.16.248]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 30 Oct 2010 15:34:24 +0200 Original-Received: from tzz by c-24-14-16-248.hsd1.il.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 30 Oct 2010 15:34:24 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 15 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-24-14-16-248.hsd1.il.comcast.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:95bgk729hpAPj/ieZ9Mk7FPQEj8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:132187 Archived-At: On Sat, 30 Oct 2010 13:57:22 +0200 Lars Magne Ingebrigtsen wrote: LMI> 1) implement a C-level resolving functionality that has a callback that LMI> will be called upon resolving the address. This seems hard. LMI> 2) add a callback mechanism to dns.el. Somebody kah-razy has already LMI> implemented a resolver in Emacs Lisp, so that seems like a possible LMI> option. But can you have process filters/sentinels on UDP processes? How about: 3) use symbols or other opaque structures to represent domain lookups and asynchronously set a property when the DNS lookup succeeds. Ted