Canceling Blocking Operations

A thread may, at any time, call WSAIsBlocking in order to determine whether or not a blocking call is currently in progress. (This function is implemented within the Windows Sockets 1.1 compatibility shims and hence has no SPI counterpart.) Clearly this is only possible when pseudo blocking, as opposed to true blocking, is being employed by the service provider. When necessary, WSPCancelBlockingCall may be called at any time to cancel any in-progress pseudo blocking operation.