From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: server-start under Windows Date: Wed, 06 Nov 2002 10:45:49 -0500 Sender: emacs-devel-admin@gnu.org Message-ID: <200211061545.gA6Fjna02914@rum.cs.yale.edu> References: <000201c2854f$61581bb0$6501a8c0@GODDESS> <5x7kfruiq9.fsf@kfs2.cua.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1036599050 24418 80.91.224.249 (6 Nov 2002 16:10:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 6 Nov 2002 16:10:50 +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 189Skh-0006HV-00 for ; Wed, 06 Nov 2002 17:09:59 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 189StF-0005at-00 for ; Wed, 06 Nov 2002 17:18:49 +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 189Sjx-0004qd-00; Wed, 06 Nov 2002 11:09:13 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 189SUX-0004Hx-00 for emacs-devel@gnu.org; Wed, 06 Nov 2002 10:53:17 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 189SUV-0004GP-00 for emacs-devel@gnu.org; Wed, 06 Nov 2002 10:53:17 -0500 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (Exim 4.10) id 189SNL-0000cv-00 for emacs-devel@gnu.org; Wed, 06 Nov 2002 10:45:51 -0500 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id gA6Fjna02914; Wed, 6 Nov 2002 10:45:49 -0500 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: storm@cua.dk (Kim F. Storm) 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:9191 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9191 > > I have managed to get emacsclient to build under Windows. However, I cannot > > test it because whenever I call server-start, I get a "Unknown address > > family" error message. I spent some time debugging this and I found that it > > is being generated by the built in function "make-network-process" in > > process.c, line 2749. I am at a loss as to how to resolve this problem. > > I assume that's because in server.el, make-network-process is called with > these args: > :family 'local :service server-socket-name > > This only works if AF_LOCAL (aka. AF_UNIX) is supported by the O/S -- > so I would assume it isn't supported on Windoze... > > Probably, the solution is to use a local network connection if > :family 'local isn't supported. This can be tested in lisp with > > (featurep 'make-network-process '(:family local)) > > Maybe Stefan can help you here. How did it work with emacsserver.c ? Stefan PS: Using network connections is a lot of work, because you then have to be super-extra-careful with security issues and you need to change emacsclient.c.