From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: A Soare Newsgroups: gmane.emacs.devel Subject: Re: RAW sockets Date: Mon, 26 Feb 2007 15:49:08 +0100 (CET) Message-ID: <16448389.52431172501348665.JavaMail.www@wwinf4202> Reply-To: alinsoar@voila.fr NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1172501372 392 80.91.229.12 (26 Feb 2007 14:49:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 26 Feb 2007 14:49:32 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 26 15:49:25 2007 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.50) id 1HLhAL-0006eX-JY for ged-emacs-devel@m.gmane.org; Mon, 26 Feb 2007 15:49:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HLhAL-0001Kl-8N for ged-emacs-devel@m.gmane.org; Mon, 26 Feb 2007 09:49:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HLhA7-0001JF-S0 for emacs-devel@gnu.org; Mon, 26 Feb 2007 09:49:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HLhA6-0001Iv-Go for emacs-devel@gnu.org; Mon, 26 Feb 2007 09:49:11 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HLhA6-0001Is-Bt for emacs-devel@gnu.org; Mon, 26 Feb 2007 09:49:10 -0500 Original-Received: from smtp2.voila.fr ([193.252.22.175] helo=smtp1.voila.fr) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HLhA5-0004Ub-UK for emacs-devel@gnu.org; Mon, 26 Feb 2007 09:49:10 -0500 Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf4103.voila.fr (SMTP Server) with ESMTP id B59FF1C0072F for ; Mon, 26 Feb 2007 15:49:08 +0100 (CET) Original-Received: from wwinf4202 (wwinf4202 [10.232.2.29]) by mwinf4103.voila.fr (SMTP Server) with ESMTP id A669D1C006C9 for ; Mon, 26 Feb 2007 15:49:08 +0100 (CET) X-ME-UUID: 20070226144908681.A669D1C006C9@mwinf4103.voila.fr X-Originating-IP: [89.34.170.37] X-Wum-Nature: EMAIL-NATURE X-WUM-FROM: |~| X-WUM-TO: |~| X-WUM-REPLYTO: |~| X-detected-kernel: Linux 2.4-2.6 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:66853 Archived-At: > There's M-x ping from lisp/net/net-utils.el, I think it works on > most systems. This file also provides M-x traceroute, M-x finger, > M-x whois, etc. > >> It would be nice if someone wrote a generic ping.el wrapper around > >> different ping programs on various platforms, passing the proper > >> set of parameters to make them do the right things... > > > > There's M-x ping from lisp/net/net-utils.el, I think it works on > > most systems. This file also provides M-x traceroute, M-x finger, > > M-x whois, etc. > > Thanks. I had forgotten all about those utils. > > In any case, my proposal was to create a more lisp-like api for this > which would allow _code_ to determine whether a given host responds to > ping. Such an api should definitely use net-utils as a base. It is nice to exist a net.el with ping written just in emacs lisp, not to render the output from an external ping, even it is more difficult. That is what I thought when I posted. By the way. Why emacs-paste site render the lisp code in very nice readable colors, while EmacsWiki, which is the main site to leans ELISP, does not? There is not a common administrator? Alin Soare.