From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Achim Gratz Newsgroups: gmane.emacs.bugs Subject: bug#23606: 25.1.50; "localhost" vs. "127.0.0.1" Date: Tue, 24 May 2016 19:20:23 +0200 Organization: Linux Private Site Message-ID: <87posbv0dk.fsf@Rainer.invalid> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1464110490 29328 80.91.229.3 (24 May 2016 17:21:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 May 2016 17:21:30 +0000 (UTC) To: 23606@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 24 19:21:15 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b5G15-0004BJ-P3 for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 May 2016 19:21:15 +0200 Original-Received: from localhost ([::1]:54487 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5G14-0003ur-Vb for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 May 2016 13:21:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43364) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5G0v-0003rP-Vx for bug-gnu-emacs@gnu.org; Tue, 24 May 2016 13:21:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b5G0s-0008MK-75 for bug-gnu-emacs@gnu.org; Tue, 24 May 2016 13:21:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52523) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5G0s-0008MG-3x for bug-gnu-emacs@gnu.org; Tue, 24 May 2016 13:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b5G0r-00080C-TP for bug-gnu-emacs@gnu.org; Tue, 24 May 2016 13:21:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Achim Gratz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 May 2016 17:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23606 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.146411044630732 (code B ref -1); Tue, 24 May 2016 17:21:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 May 2016 17:20:46 +0000 Original-Received: from localhost ([127.0.0.1]:36627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5G0c-0007zc-Bw for submit@debbugs.gnu.org; Tue, 24 May 2016 13:20:46 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52271) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5G0Z-0007zP-OT for submit@debbugs.gnu.org; Tue, 24 May 2016 13:20:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b5G0T-0008IC-Gx for submit@debbugs.gnu.org; Tue, 24 May 2016 13:20:38 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:56908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5G0T-0008I6-6V for submit@debbugs.gnu.org; Tue, 24 May 2016 13:20:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43234) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5G0Q-0003Xj-U9 for bug-gnu-emacs@gnu.org; Tue, 24 May 2016 13:20:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b5G0N-0008Hi-7f for bug-gnu-emacs@gnu.org; Tue, 24 May 2016 13:20:33 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:46865) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5G0N-0008Ha-02 for bug-gnu-emacs@gnu.org; Tue, 24 May 2016 13:20:31 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1b5G0L-0003rt-3U for bug-gnu-emacs@gnu.org; Tue, 24 May 2016 19:20:29 +0200 Original-Received: from p54b478af.dip0.t-ipconnect.de ([84.180.120.175]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 May 2016 19:20:29 +0200 Original-Received: from Stromeko by p54b478af.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 May 2016 19:20:29 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 19 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p54b478af.dip0.t-ipconnect.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.94 (gnu/linux) Cancel-Lock: sha1:7oPKhTcpxvenCH0TT0AtEb8CwYs= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:118631 Archived-At: Ken Brown writes: > The test echo-server-nowait in test/lisp/net/network-stream-tests.el > fails on Cygwin, but it passes if I create the client process using > "127.0.0.1" instead of "localhost": This could be a case where it makes a difference if the IPv6 (::1) or IPv4 address is returned (first) for localhost. IIRC, Windows and up-to-date Linux prefer IPv6 by default. If so, it would likely be better to fix the parts of the code that assumes return of IPv4 addresses only. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables