This is the mail archive of the cygwin 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] |
Hi, I seem to have a problem with non-blocking writes to TCP sockets and unix-domain sockets - they block. The attached program illustrates it - it creates a socketpair(), sets one end to non-blocking and writes to it - expecting to get an EWOULDBLOCK. On my system it hangs. With pipe() it works fine. Please advise. Thanks, Uri
Attachment:
nbtest2.c
Description: nbtest2.c
-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |