From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: server-start under Windows - revisited Date: 09 Nov 2002 13:10:03 +0000 Sender: emacs-devel-admin@gnu.org Message-ID: References: <002801c28799$41cfaaf0$6501a8c0@GODDESS> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1036880955 28285 80.91.224.249 (9 Nov 2002 22:29:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 9 Nov 2002 22:29:15 +0000 (UTC) Cc: "Emacs-Devel (E-mail)" Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Ae6M-0007M4-00 for ; Sat, 09 Nov 2002 23:29:14 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18AeGV-0000FA-00 for ; Sat, 09 Nov 2002 23:39:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18Ae4f-0006gP-00; Sat, 09 Nov 2002 17:27:29 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18Adso-0001Nf-00 for emacs-devel@gnu.org; Sat, 09 Nov 2002 17:15:14 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18Adsl-0001Iy-00 for emacs-devel@gnu.org; Sat, 09 Nov 2002 17:15:13 -0500 Original-Received: from tungsten.btinternet.com ([194.73.73.81]) by monty-python.gnu.org with esmtp (Exim 4.10) id 18Adsk-0001DU-00 for emacs-devel@gnu.org; Sat, 09 Nov 2002 17:15:10 -0500 Original-Received: from host213-122-237-163.in-addr.btopenworld.com ([213.122.237.163] helo=nyaumo.btinternet.com) by tungsten.btinternet.com with esmtp (Exim 3.22 #15) id 18Adsi-00014Q-00; Sat, 09 Nov 2002 22:15:08 +0000 Original-Received: from nyaumo.btinternet.com (nyaumo.btinternet.com [127.0.0.1]) by nyaumo.btinternet.com (Postfix) with ESMTP id 6EFB74B2AC; Sat, 9 Nov 2002 13:10:03 +0000 (GMT) Original-To: In-Reply-To: <002801c28799$41cfaaf0$6501a8c0@GODDESS> Original-Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:9293 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9293 "Ben Key" writes: > 2. If AF_LOCAL sockets are not available, I need to then attempt to set the > server process using tcp sockets. This I am not certain how to do. Are TCP > sockets the same as INet? Can I do this with the following? > (setq server-process > (make-network-process > :name "server" :server t :noquery t > :service server-socket-name > :sentinel 'server-sentinel :filter 'server-process-filter > ;; We must receive file names without being decoded. > ;; Those are decoded by server-process-filter according > ;; to file-name-coding-system. > :coding 'raw-text)) I would also add :host "127.0.0.1" to the above, to avoid opening the server socket to the world. Other than that, the above looks OK, but I am not familiar with that code, so my opinion might not mean much.