From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Ben Key" Newsgroups: gmane.emacs.devel Subject: server-start under Windows Date: Tue, 5 Nov 2002 23:45:48 -0500 Sender: emacs-devel-admin@gnu.org Message-ID: <000201c2854f$61581bb0$6501a8c0@GODDESS> Reply-To: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1036559352 12068 80.91.224.249 (6 Nov 2002 05:09:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 6 Nov 2002 05:09:12 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 189IRC-00038W-00 for ; Wed, 06 Nov 2002 06:09:10 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 189IZX-0007kk-00 for ; Wed, 06 Nov 2002 06:17:48 +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 189IKL-00079q-00; Wed, 06 Nov 2002 00:02:05 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 189I6M-0002iZ-00 for emacs-devel@gnu.org; Tue, 05 Nov 2002 23:47:38 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 189I6K-0002hd-00 for emacs-devel@gnu.org; Tue, 05 Nov 2002 23:47:37 -0500 Original-Received: from smtp-server3.tampabay.rr.com ([65.32.1.41]) by monty-python.gnu.org with esmtp (Exim 4.10) id 189I4e-0001bM-00 for emacs-devel@gnu.org; Tue, 05 Nov 2002 23:45:52 -0500 Original-Received: from GODDESS (6535194hfc48.tampabay.rr.com [65.35.194.48]) by smtp-server3.tampabay.rr.com (8.12.2/8.12.2) with SMTP id gA64jo7Z028994 for ; Tue, 5 Nov 2002 23:45:50 -0500 (EST) Original-To: "Emacs-Devel \(E-mail\)" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal 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:9154 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9154 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. If someone could help me resolve this issue, I might be able to complete my Windows port of emacsclient this weekend. For those of you who are interested in knowing how I got emacsclient to build under Windows, it was actually pretty easy, but time consuming. All I really needed to do was copy a bunch of code from w32.c (the socket related functions such as sys_connect, sys_gethostname and sys_socket and the user information functions such as getuid, geteuid, and getpwnam) and w32proc.c (various process related functions such as new_child). Beyond that, there were only relatively minor changes that were required.