Subject: bug#23982: [master] Treat errno EINPROGRESS and ENOTCONN as EAGAIN for async connection

From: Eli Zaretskii <[email-masked]>
Date: Sat, 16 Jul 2016 09:44:56 +0300

> From: [email-masked]
> Date: Fri, 15 Jul 2016 23:33:00 -0400
> Cc: [email-masked]
> 
> > emacs -Q --eval "(erc-tls :server \"irc.freenode.net\" :port 6697 :nick \"test\")"
> >
> > Current master branch will gave up connecting.
> 
> On both Window and GNU/Linux this successfully connect both with and
> without the patch, i.e., patch seems not to be needed on non-OSX
> platforms, but it doesn't seem to hurt either.

I think this fact should be reflected in some comment to the code
changed by the patch.

Thanks.