bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23658: 25.1.50; make-network-connection fails to connect to IPv6 add


From: Fran
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

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 <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]