From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: 100% CPU on TCP servers (on Windoze). Date: Sat, 15 Jul 2006 10:58:40 -0400 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1152975502 31377 80.91.229.2 (15 Jul 2006 14:58:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 15 Jul 2006 14:58:22 +0000 (UTC) Cc: "Kim F. Storm" , Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 15 16:58:19 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G1lav-00052c-KK for ged-emacs-devel@m.gmane.org; Sat, 15 Jul 2006 16:58:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G1lav-00076w-9C for ged-emacs-devel@m.gmane.org; Sat, 15 Jul 2006 10:58:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G1lak-00076X-5E for emacs-devel@gnu.org; Sat, 15 Jul 2006 10:58:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G1lai-00076L-M6 for emacs-devel@gnu.org; Sat, 15 Jul 2006 10:58:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G1lai-00076I-K7 for emacs-devel@gnu.org; Sat, 15 Jul 2006 10:58:00 -0400 Original-Received: from [209.226.175.74] (helo=tomts20-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G1lcx-0006pD-0A for emacs-devel@gnu.org; Sat, 15 Jul 2006 11:00:19 -0400 Original-Received: from localhost ([70.53.195.230]) by tomts20-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060715145759.ENZH16051.tomts20-srv.bellnexxia.net@localhost>; Sat, 15 Jul 2006 10:57:59 -0400 Original-Received: by localhost (Postfix, from userid 20848) id 55649846E; Sat, 15 Jul 2006 10:58:40 -0400 (EDT) Original-To: "Juanma Barranquero" In-Reply-To: (Juanma Barranquero's message of "Sat, 15 Jul 2006 15:50:48 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (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:57045 Archived-At: >> Huh? I understand you can write the code in such a way that it wouldn't >> work, but why would you since you can also write it in such a way that >> it'll work. > AFAICS, Kim proposed that: > - If the local system supports AF_UNIX sockets, use that; > - If not, use AF_INET sockets That's for local connections. If you want to allow remote connections, of course you'll use a TCP socket either way (maybe additionally to a unix socket). I see no problem here. Stefan