[PATCH]: interruptable connect

Corinna Vinschen cygwin-patches@cygwin.com
Thu Feb 27 18:44:00 GMT 2003

On Thu, Feb 27, 2003 at 04:21:33PM +0100, Thomas Pfaff wrote:
> +      /* Unset events for connecting socket and
> +         switch back to blocking mode */
> +      WSAEventSelect (get_socket (), ev[0], 0);

Just a question:  Shouldn't it be ok to call WSACloseEvent() already at this
point?  This would eliminate the need for the `goto done;', also in the
accept() code.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

More information about the Cygwin-patches mailing list