connect() returns wrong errno for non-blocking sockets

Corinna Vinschen cygwin@cygwin.com
Sat Dec 9 12:43:00 GMT 2000


On Saturday 09 December 2000 19:47, Dave Johnson wrote:
> While porting an application to cygwin I've discovered the following
> bug:
>
> When calling connect on a non-blocking socket it returns -1 with
> errno set to EAGAIN not EINPROGRESS.  In every UNIX OS I've tried
> this in EINPROGRESS is the correct errno for non-blocking connect()
> calls.
>
> This is with cygwin 1.1.4.

Solved with 1.1.6, AFAIK.

Corinna

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

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list