From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.devel Subject: Re: UDP/DNS in Emacs Date: Sat, 30 Mar 2002 22:42:54 +0100 Sender: emacs-devel-admin@gnu.org Message-ID: References: <6137-Sat30Mar2002211343+0300-eliz@is.elta.co.il> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1017524753 24581 127.0.0.1 (30 Mar 2002 21:45:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 30 Mar 2002 21:45:53 +0000 (UTC) Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16rQfZ-0006OM-00 for ; Sat, 30 Mar 2002 22:45:53 +0100 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16rQq2-0000B1-00 for ; Sat, 30 Mar 2002 22:56:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16rQf2-0001nq-00; Sat, 30 Mar 2002 16:45:20 -0500 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net ([217.13.230.178] helo=yxa.extundo.com) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16rQc0-0001V8-00 for ; Sat, 30 Mar 2002 16:42:12 -0500 Original-Received: from localhost.localdomain (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.2/8.12.2) with ESMTP id g2ULgAKY008427 for ; Sat, 30 Mar 2002 22:42:10 +0100 Original-To: emacs-devel@gnu.org In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sat, 30 Mar 2002 20:26:19 +0100") Mail-Copies-To: nobody Original-Lines: 15 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i686-pc-linux-gnu) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:2266 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2266 Lars Magne Ingebrigtsen writes: > I haven't yet started playing with it, but am I right in that nobody > has written a DNS layer for this yet? If so, my plans are for writing > a dns.el to use `make-network-process' to implement a DNS lookup > thing. (With several concurrent requests, time outs, etc.) I wrote a simple DNS client for TCP some time ago, but I'm sure that seeing the code won't help you. :-) Oh, and DNS can use both UDP and TCP, so I guess a dns.el should use both, with the appropriate fallback UDP->TCP. There was a library posted to gnu.emacs.sources recently for dealing with binary structures, it might be useful for unpacking DNS packets. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel