unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Fran <flitterio@gmail.com>
To: Ken Brown <kbrown@cornell.edu>
Cc: 23658@debbugs.gnu.org
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	[thread overview]
Message-ID: <CAGQpP8SaOFg7yW0qBFAHh_gGBrFkbaMZCxPMNjjAfoaNnefUiQ@mail.gmail.com> (raw)
In-Reply-To: <240c188a-bfeb-a8f6-2e6d-fe6c90e37072@cornell.edu>

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 <kbrown@cornell.edu> 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
>





  reply	other threads:[~2016-06-01 15:30 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-30 23:44 bug#23658: 25.1.50; make-network-connection fails to connect to IPv6 address on Windows Francis Litterio
2016-06-01 14:54 ` Ken Brown
2016-06-01 15:30   ` Fran [this message]
2016-06-01 16:29     ` Ken Brown
2016-06-01 19:57       ` Fran
2016-06-01 21:55         ` Ken Brown
2016-06-02 14:50           ` Ken Brown
2016-06-04 16:01             ` Fran Litterio
2016-06-05 15:04             ` Fran Litterio
2016-06-05 15:31               ` Ken Brown
2016-06-05 15:52                 ` Fran
2016-06-05 16:56             ` Fran
2016-06-05 17:20               ` Ken Brown
2016-06-05 18:00                 ` Ken Brown
2016-06-12 20:04                   ` Ken Brown
2016-06-12 23:24                     ` Ken Brown
2016-06-02  8:16 ` Live System User
2016-06-02 15:01   ` Ken Brown
2020-08-04  9:34 ` Lars Ingebrigtsen
2020-09-14 15:00   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAGQpP8SaOFg7yW0qBFAHh_gGBrFkbaMZCxPMNjjAfoaNnefUiQ@mail.gmail.com \
    --to=flitterio@gmail.com \
    --cc=23658@debbugs.gnu.org \
    --cc=kbrown@cornell.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).