This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
blocking connect()
- To: Cygwin Mailing List <cygwin at sourceware dot cygnus dot com>
- Subject: blocking connect()
- From: stefan <stefan at lkcc dot org>
- Date: Sat, 30 Sep 2000 19:12:25 +0200 (CEST)
Hello CygWin'ers,
The example program within the attachment shows a problem with connect()
and non-blocking I/O. Normally a connect() with a socket set to
non-bocking mode via fcntl(O_NONBLOCKING) should not block, but it does
with the current (1.1.4) version of cygwin. Is this problem known to you ?
Usually the operarion should state something like "Operation now in
progress" and when select()ing in the write set afterwards you can
determine if the connect() has been failed or not via
getsockopt(SO_ERROR).
Thanks in advance,
Stefan.
stefanlkcc.org
blocking connect
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com