This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH]: interruptable connect


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

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]