From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fran Newsgroups: gmane.emacs.bugs Subject: bug#23658: 25.1.50; make-network-connection fails to connect to IPv6 address on Windows Date: Wed, 1 Jun 2016 11:30:48 -0400 Message-ID: References: <87d1o3yty2.fsf@gmail.com> <240c188a-bfeb-a8f6-2e6d-fe6c90e37072@cornell.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1464795147 28704 80.91.229.3 (1 Jun 2016 15:32:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Jun 2016 15:32:27 +0000 (UTC) Cc: 23658@debbugs.gnu.org To: Ken Brown Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 01 17:32:16 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 1b8880-0004ll-66 for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Jun 2016 17:32:16 +0200 Original-Received: from localhost ([::1]:42735 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b887z-0006We-6y for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Jun 2016 11:32:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35166) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b887p-0006VL-QX for bug-gnu-emacs@gnu.org; Wed, 01 Jun 2016 11:32:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b887m-0000rV-Lj for bug-gnu-emacs@gnu.org; Wed, 01 Jun 2016 11:32:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37675) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b887m-0000rQ-Hv for bug-gnu-emacs@gnu.org; Wed, 01 Jun 2016 11:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b887m-0001hw-Ah for bug-gnu-emacs@gnu.org; Wed, 01 Jun 2016 11:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Fran Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Jun 2016 15:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23658 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23658-submit@debbugs.gnu.org id=B23658.14647950766505 (code B ref 23658); Wed, 01 Jun 2016 15:32:02 +0000 Original-Received: (at 23658) by debbugs.gnu.org; 1 Jun 2016 15:31:16 +0000 Original-Received: from localhost ([127.0.0.1]:50012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b8871-0001gq-Uk for submit@debbugs.gnu.org; Wed, 01 Jun 2016 11:31:16 -0400 Original-Received: from mail-oi0-f49.google.com ([209.85.218.49]:34488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b886z-0001gd-Fk for 23658@debbugs.gnu.org; Wed, 01 Jun 2016 11:31:14 -0400 Original-Received: by mail-oi0-f49.google.com with SMTP id e72so33077467oib.1 for <23658@debbugs.gnu.org>; Wed, 01 Jun 2016 08:31:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=xAbFyuYbnLJGXFURULw6k9IoqSMvDHIaBuODGrRsGqc=; b=p2ur8t310jSGO5rrp/yrcJKw7X4CcHSAwJnCoMkr3R/hs83jFOPJIRwnQ0Bc4h7ZFM VFmdXU2jGXL1TEa8zQ55pyi2klcOndBaH4QQKri3Lthy/5qBzscFSe3eA23WIA3OsDIe of99XCy0Xk1JED7YnV6CLiHCAdotoaFFMW2ZJ92p9vORI4NP4FaWrdr6RoeUB76wvV40 MSNczxkFYnK8b7j1eEgp44XIY5UxCCNBNkHhaE1pwWXv18SoQw7ZY980KbzAb+FZkiY+ 62+WIqxCRdRq4BKulmcEvJvVeoMi2WmPTxroLXyrh2FaqWdSDKXVho/hYobSO+IP+0CY zdzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=xAbFyuYbnLJGXFURULw6k9IoqSMvDHIaBuODGrRsGqc=; b=a666m+7qI/NcaSnz10EH7WNgrPcH13hPCdy+/W96y7L7asAuQ1VaKr2oYy577n5hrs jPSxoY4+qS1LDF4yrZcYbcRu8obyU2SOliKV6jiL+Cm8r9zsIVYzWNWrzS8paICqvVUJ qu5LTq3cx7GMeaeXKuIDTZu946OZ5rsREvOxayFVebl3e16JTpNQWUDmrtK5Dl/DflVw X+OXgezP979JBH5B3Dd3GqQKdRIbk6SUEqrh/VwfTERu3XH7lSbqU5wJbM47k+ytZwQp 4MWANiiHrgjf1qU+g4dhH3L7ziwvsI1Mm/zsNXB5/4GBuC2yKWuisOdFbuQA5IbR7Wja yA8Q== X-Gm-Message-State: ALyK8tLPAgiOXC306WPy6dHybT1Qrq4rx2ZKMzhLicA1UyTVzy5988SnjWxzGvWyIvDHAHuhQmuucrIpKnrTqQ== X-Received: by 10.202.77.216 with SMTP id a207mr11074347oib.46.1464795067833; Wed, 01 Jun 2016 08:31:07 -0700 (PDT) Original-Received: by 10.157.11.5 with HTTP; Wed, 1 Jun 2016 08:30:48 -0700 (PDT) In-Reply-To: <240c188a-bfeb-a8f6-2e6d-fe6c90e37072@cornell.edu> 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:118936 Archived-At: I see the exact same failure with ":family 'ipv6" added to the arguments to make-network-connection (when it's also passed ":host ipv6-host", of course). -- Fran Litterio On Wed, Jun 1, 2016 at 10:54 AM, Ken Brown wrote: > On 5/30/2016 7:44 PM, Francis Litterio wrote: >> >> >> Using Emacs built from the latest sources (obtained by cloning the Git >> repo at git://git.savannah.gnu.org/emacs.git), make-network-connection >> fails when connecting to an IPv6 address from a Windows machine that has >> an IPv6 address assigned via DHCP. To reproduce: >> >> 1. On Windows 7 SP1 (with all updates installed), launch Emacs using: >> emacs.exe -Q >> >> 2. Evaluate the following form in the *scratch* buffer: >> >> (progn >> (defun my-sentinel (proc event) >> (with-current-buffer "*scratch*" >> (save-excursion >> (goto-char (point-max)) >> (insert (format "\n>> proc = '%s', status = '%s', event = '%s'" >> proc (process-status proc) event))))) >> >> (defun my-filter (proc str) >> (with-current-buffer "*scratch*" >> (save-excursion >> (goto-char (point-max)) >> (insert (format "\n>> proc = '%s', status = '%s', str = '%s'" >> proc (process-status proc) str))))) >> >> ;; These IP addresses are both for host rajaniemi.freenode.net. >> (let* ((ipv6-host "2001:708:40:2001:a822:baff:fec4:2428") >> (ipv4-host "195.148.124.79") >> (process (make-network-process :name "zzz" >> :buffer nil >> :host ipv6-host >> ;; :host ipv4-host >> :service 6667 >> :nowait t))) > > > What happens if you add > :family 'ipv6 > > Ken >