This is the mail archive of the cygwin@sourceware.cygnus.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]

Re: B20.1: socket functions always blocking?


Nikko Strom wrote:

> In the attached example, I expected recv to be non-blocking.
> In fact, it seems like all socket functions always block!

All sockets are created in blocking mode.  Use ioctl() to put them in nno-blocking mode.

--

ray

    -- je suis marxiste, tendance groucho



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


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