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 Date: 06 Nov 2002 20:02:05 +0000 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200211061414.gA6EE2CB019778@smtp-server1.tampabay.rr.com> <200211061555.gA6Ftrn02958@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1036698225 4731 80.91.224.249 (7 Nov 2002 19:43:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 7 Nov 2002 19:43:45 +0000 (UTC) Cc: bkey1@tampabay.rr.com, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 189sZ4-0001Dt-00 for ; Thu, 07 Nov 2002 20:43:42 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 189siB-0000Lh-00 for ; Thu, 07 Nov 2002 20:53:07 +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 189sWe-000382-00; Thu, 07 Nov 2002 14:41:12 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 189sFN-0007g7-00 for emacs-devel@gnu.org; Thu, 07 Nov 2002 14:23:21 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 189s7D-0005k2-00 for emacs-devel@gnu.org; Thu, 07 Nov 2002 14:14:59 -0500 Original-Received: from einsteinium.btinternet.com ([194.73.73.147] helo=einsteinium) by monty-python.gnu.org with esmtp (Exim 4.10) id 189s7C-0005iW-00 for emacs-devel@gnu.org; Thu, 07 Nov 2002 14:14:55 -0500 Original-Received: from host213-122-104-148.in-addr.btopenworld.com ([213.122.104.148] helo=nyaumo.btinternet.com) by einsteinium with esmtp (Exim 3.22 #15) id 189s78-00044I-00; Thu, 07 Nov 2002 19:14:51 +0000 Original-Received: from nyaumo.btinternet.com (nyaumo.btinternet.com [127.0.0.1]) by nyaumo.btinternet.com (Postfix) with ESMTP id 794AE4B289; Wed, 6 Nov 2002 20:02:06 +0000 (GMT) Original-To: "Stefan Monnier" In-Reply-To: <200211061555.gA6Ftrn02958@rum.cs.yale.edu> Original-Lines: 18 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:9235 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9235 "Stefan Monnier" writes: > I only wrote server.el which uses make-network-process. > You'll need to hack process.c like you did for emacsclient.c to make > it understand `local' connections (I assume that w32 has unix-domain > sockets of some sort). It doesn't, which makes me wonder how much hacking went into emacsclient.c, or maybe it will also start failing once the server side is working. Giving server.el a fallback of opening a TCP socket on localhost is probably good enough. Unix-like systems will support AF_LOCAL, and MS-Windows systems do not need to worry so much about multiple users, so the security implications are mitigated. I'm not sure that server sockets are stable on MS-Windows, but getting server.el going will be a good test.