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: Ken Brown
Subject: bug#23658: 25.1.50; make-network-connection fails to connect to IPv6 address on Windows
Date: Sun, 12 Jun 2016 19:24:42 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1

On 6/12/2016 4:04 PM, Ken Brown wrote:
On 6/5/2016 2:00 PM, Ken Brown wrote:
On 6/5/2016 1:20 PM, Ken Brown wrote:
OK, my guess was wrong.  I'm out of ideas.  I hope one of the experts
can help you.

One last thought: Your original report mentioned an error code of 14.
That may be bogus, for the reasons explained in bug#23615.  The
following patch might get a more reliable error code, which you could
then look up.  (On my system you would look in /usr/include/sys/errno.h.)

diff --git a/src/process.c b/src/process.c
index 9ca3e594..d71c50c 100644
--- a/src/process.c
+++ b/src/process.c
@@ -5492,7 +5492,7 @@ wait_reading_process_output (intmax_t
time_limit, int nsecs, int read_kbd,

              p = XPROCESS (proc);

-#ifdef GNU_LINUX
+#if 1
              /* getsockopt(,,SO_ERROR,,) is said to hang on some
systems.
                 So only use it on systems where it is known to work.  */
              {

Fran, you may want to try the patch that Paul recently posted to
bug#17976.  This may help with your problem.

On second thought, the part of Paul's patch that I thought might help doesn't seem to apply to MS-Windows. I'm not sure how hard it would be to extend it to Windows.

Ken






reply via email to

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