Re: Unix Domain Socket Limitation?

2020-12-06 Thread Ken Brown via Cygwin
On 12/6/2020 12:17 PM, Norton Allen wrote: On 12/5/2020 6:52 PM, Ken Brown wrote: On 12/4/2020 8:51 AM, Norton Allen wrote: On 12/3/2020 8:11 PM, Ken Brown wrote: I'm traveling at the moment and unable to do any testing, but I wonder if you're bumping into an issue that was just discussed on

Re: Unix Domain Socket Limitation?

2020-12-06 Thread Norton Allen
On 12/5/2020 6:52 PM, Ken Brown wrote: On 12/4/2020 8:51 AM, Norton Allen wrote: On 12/3/2020 8:11 PM, Ken Brown wrote: I'm traveling at the moment and unable to do any testing, but I wonder if you're bumping into an issue that was just discussed on the cygwin-developers list: https://cygw

Re: Unix Domain Socket Limitation?

2020-12-05 Thread Ken Brown via Cygwin
On 12/4/2020 8:51 AM, Norton Allen wrote: On 12/3/2020 8:11 PM, Ken Brown wrote: On 12/2/2020 12:30 PM, Norton Allen wrote: On 11/30/2020 9:22 PM, Norton Allen wrote: Yeah, so now the example no longer blocks for me. Unfortunately these bugs are not present in my application, so I will need to

Re: Unix Domain Socket Limitation?

2020-12-04 Thread Norton Allen
On 12/3/2020 8:11 PM, Ken Brown wrote: On 12/2/2020 12:30 PM, Norton Allen wrote: On 11/30/2020 9:22 PM, Norton Allen wrote: Yeah, so now the example no longer blocks for me. Unfortunately these bugs are not present in my application, so I will need to keep working on this. After paring th

Re: Unix Domain Socket Limitation?

2020-12-03 Thread Ken Brown via Cygwin
On 12/2/2020 12:30 PM, Norton Allen wrote: On 11/30/2020 9:22 PM, Norton Allen wrote: Yeah, so now the example no longer blocks for me. Unfortunately these bugs are not present in my application, so I will need to keep working on this. After paring the main application down and back up, I fi

Re: Unix Domain Socket Limitation?

2020-12-02 Thread Norton Allen
On 11/30/2020 9:22 PM, Norton Allen wrote: Yeah, so now the example no longer blocks for me. Unfortunately these bugs are not present in my application, so I will need to keep working on this. After paring the main application down and back up, I finally narrowed in on the condition that wa

Re: Unix Domain Socket Limitation?

2020-11-30 Thread Norton Allen
On 11/30/2020 9:14 PM, Norton Allen wrote: On 11/30/2020 6:19 PM, Ken Brown wrote: On 11/30/2020 1:26 PM, Norton Allen wrote: On 11/30/2020 1:14 PM, Ken Brown wrote: I can reproduce the hang, and it happens if I use the new AF_UNIX code also. But what I'm seeing (at least with the new code) is

Re: Unix Domain Socket Limitation?

2020-11-30 Thread Norton Allen
On 11/30/2020 6:19 PM, Ken Brown wrote: On 11/30/2020 1:26 PM, Norton Allen wrote: On 11/30/2020 1:14 PM, Ken Brown wrote: I can reproduce the hang, and it happens if I use the new AF_UNIX code also. But what I'm seeing (at least with the new code) isn't exactly what you describe. When the s

Re: Unix Domain Socket Limitation?

2020-11-30 Thread Ken Brown via Cygwin
On 11/30/2020 1:26 PM, Norton Allen wrote: On 11/30/2020 1:14 PM, Ken Brown wrote: I can reproduce the hang, and it happens if I use the new AF_UNIX code also. But what I'm seeing (at least with the new code) isn't exactly what you describe. When the server's first select call returns, accept

Re: Unix Domain Socket Limitation?

2020-11-30 Thread Norton Allen
On 11/30/2020 1:14 PM, Ken Brown wrote: I can reproduce the hang, and it happens if I use the new AF_UNIX code also. But what I'm seeing (at least with the new code) isn't exactly what you describe. When the server's first select call returns, accept succeeds.  The server then calls select a

Re: Unix Domain Socket Limitation?

2020-11-30 Thread Ken Brown via Cygwin
On 11/30/2020 12:19 PM, Norton Allen wrote: On 11/26/2020 12:13 PM, Ken Brown wrote: [Adding the Cygwin list back to the Cc.] On 11/26/2020 11:27 AM, Norton Allen wrote: On 11/25/2020 5:27 PM, Ken Brown via Cygwin wrote: On 11/25/2020 4:47 PM, Norton Allen wrote: In my recent tests, it appear

Re: Unix Domain Socket Limitation?

2020-11-30 Thread Norton Allen
On 11/26/2020 12:13 PM, Ken Brown wrote: [Adding the Cygwin list back to the Cc.] On 11/26/2020 11:27 AM, Norton Allen wrote: On 11/25/2020 5:27 PM, Ken Brown via Cygwin wrote: On 11/25/2020 4:47 PM, Norton Allen wrote: In my recent tests, it appears as though it is not possible to successful

Re: Unix Domain Socket Limitation?

2020-11-26 Thread Ken Brown via Cygwin
[Adding the Cygwin list back to the Cc.] On 11/26/2020 11:27 AM, Norton Allen wrote: On 11/25/2020 5:27 PM, Ken Brown via Cygwin wrote: On 11/25/2020 4:47 PM, Norton Allen wrote: In my recent tests, it appears as though it is not possible to successfully connect via two Unix Domain sockets fro

Re: Unix Domain Socket Limitation?

2020-11-25 Thread Ken Brown via Cygwin
On 11/25/2020 4:47 PM, Norton Allen wrote: In my recent tests, it appears as though it is not possible to successfully connect via two Unix Domain sockets from one client application to one server application. Specifically, if I create a server which listens on a Unix Domain socket and a clie

Unix Domain Socket Limitation?

2020-11-25 Thread Norton Allen
In my recent tests, it appears as though it is not possible to successfully connect via two Unix Domain sockets from one client application to one server application. Specifically, if I create a server which listens on a Unix Domain socket and a client, which attempts to connect() twice, both