From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Problems with the url package on w32? Date: Wed, 20 Dec 2006 15:36:00 +0100 Message-ID: References: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1166625387 22685 80.91.229.10 (20 Dec 2006 14:36:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Dec 2006 14:36:27 +0000 (UTC) Cc: Juanma Barranquero , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 20 15:36:23 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1Gx2YN-00042j-J3 for ged-emacs-devel@m.gmane.org; Wed, 20 Dec 2006 15:36:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gx2YN-0004ND-0v for ged-emacs-devel@m.gmane.org; Wed, 20 Dec 2006 09:36:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gx2Y9-0004Iq-NR for emacs-devel@gnu.org; Wed, 20 Dec 2006 09:36:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gx2Y8-0004H5-HE for emacs-devel@gnu.org; Wed, 20 Dec 2006 09:36:05 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gx2Y8-0004GV-3o for emacs-devel@gnu.org; Wed, 20 Dec 2006 09:36:04 -0500 Original-Received: from [195.41.46.236] (helo=pfepb.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gx2Y7-0003Zb-NP for emacs-devel@gnu.org; Wed, 20 Dec 2006 09:36:03 -0500 Original-Received: from kfs-l.imdomain.dk.cua.dk (unknown [80.165.4.124]) by pfepb.post.tele.dk (Postfix) with SMTP id 1973BA50042; Wed, 20 Dec 2006 15:36:00 +0100 (CET) Original-To: LENNART BORGMAN In-Reply-To: (LENNART BORGMAN's message of "Wed\, 20 Dec 2006 12\:22\:32 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:64004 Archived-At: LENNART BORGMAN writes: > From: storm@cua.dk (Kim F. Storm) >> Too bad nobody cared to make non-blocking connects work on Windows >> before the release ... > > > Yes, I agree. Maybe it is just because there seem to be too many > subtle bugs that one stumble on on the w32 side. Problems with > ported gnu applications, problems within Emacs... It wastes a lot of > time that the code in some cases does not seem to be written to be > portable from the beginning. A lack of structure I believe. The current code in process.c is written with portability in mind, but nobody knows everything about every system -- so someone who knows (or want to give it a try) must help with those corner cases. > And of course not everyone has the knowledge about networking on > both w32 and *nix which seems to be needed to fix those things. Someone with a debugger on w32 should be able to set a breakpoint on Fmake_network_process (without my latest change!!) and see why it returns nil when passed :nowait t. Just knowing the return code from connect may tell us something (if it gets that far). When nobody volounteered to debug why server sockets didn't work, I went ahead and did it myself (with kind assistance to build and test from others). And I certainly don't know anything about WinSock programming. I don't have time to do the same for non-blocking connects. Besides, while non-functional server sockets was a severe short-coming, not having non-blocking connect is mainly inconvenient rather than fatal (as long as the code tries a blocking connect if non-blocking isn't available). -- Kim F. Storm http://www.cua.dk