From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: New patch for server sockets and datagram (UDP) support. Date: Fri, 8 Mar 2002 02:09:19 -0700 (MST) Message-ID: <200203080909.g2899Jl02686@wijiji.santafe.edu> References: <5xwux64cxe.fsf@kfs2.cua.dk> <5xg03pyyo3.fsf@kfs2.cua.dk> <5xadtvuodz.fsf@kfs2.cua.dk> <200202280408.g1S48QG19264@aztec.santafe.edu> <5xvgchkui4.fsf@kfs2.cua.dk> <200203012123.g21LNvS20494@aztec.santafe.edu> <5xofi1p7cz.fsf_-_@kfs2.cua.dk> Reply-To: rms@gnu.org NNTP-Posting-Host: quimby.gnus.org X-Trace: quimby.gnus.org 1015578783 3493 80.91.224.244 (8 Mar 2002 09:13:03 GMT) X-Complaints-To: usenet@quimby.gnus.org NNTP-Posting-Date: 8 Mar 2002 09:13:03 GMT Cc: emacs-devel@gnu.org, helmut@212186011228.11.tuwien.teleweb.at Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16jGQw-0000uE-00 for ; Fri, 08 Mar 2002 10:13:02 +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 16jGQ9-0007ya-00; Fri, 08 Mar 2002 04:12:13 -0500 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16jGNM-0007m6-00; Fri, 08 Mar 2002 04:09:20 -0500 Original-Received: from wijiji.santafe.edu (wijiji [192.12.12.5]) by pele.santafe.edu (8.11.6+Sun/8.9.3) with ESMTP id g2899Uu21362; Fri, 8 Mar 2002 02:09:30 -0700 (MST) Original-Received: (from rms@localhost) by wijiji.santafe.edu (8.11.6+Sun/8.9.3) id g2899Jl02686; Fri, 8 Mar 2002 02:09:19 -0700 (MST) X-Authentication-Warning: wijiji.santafe.edu: rms set sender to rms@wijiji using -f Original-To: storm@cua.dk In-reply-to: <5xofi1p7cz.fsf_-_@kfs2.cua.dk> (storm@cua.dk) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:1799 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1799 Helmut, what do you think of this approach? Does it solve the problems you were concerned about? Given that datagram streams are handled so differently at the user level, would it be better to have a different function to open one? + DEFVAR_LISP ("network-server-log-function", &Vnetwork_server_log_function, + doc: /* Function called when accepting a network connecting. + Arguments are SERVER, PROCESS, and MESSAGE, where SERVER is the server process, + PROCESS is the new process for the connection, and MESSAGE is a string. */); Could you please explain more about this? I am wondering whether having a single function to be called for all connections is the right interface for the job. For consistency, please have two separate functions process-datagram-address and set-process-datagram-address. The former should just return the current status; the latter should set it, like the other set-process-... functions. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel