Share via


Nonblocking Input/Output

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

If a socket is in a nonblocking mode, any I/O operation must either complete immediately or return error code WSAEWOULDBLOCK indicating that the operation cannot be finished right away. In the latter case, a mechanism is needed to discover when it is appropriate to try the operation again with the expectation that the operation will succeed. A set of network events has been defined for this purpose. These events can be polled or waited on by using WSPSelect, or they can be registered for asynchronous delivery by calling WSPEventSelect. See section Notification of Network Events for more information.

See Also

Concepts

Socket I/O