wouldHaveBlocked

fnbool wouldHaveBlocked() nothrow @nogc

Returns

true if the last socket operation failed because the socket

was in non-blocking mode and the operation would have blocked, or if the socket is in blocking mode and set a SNDTIMEO or RCVTIMEO, and the operation timed out.