Function wouldHaveBlocked

Checks if the last error is a serious error or just a special behaviour error of non-blocking sockets (for example an error returned because the socket would block or because the asynchronous operation was successfully started but not finished yet).

bool wouldHaveBlocked() nothrow @nogc @trusted;

Returns

false if a serious error happened, true otherwise.