Socket.blocking

bool blocking() @property @trusted const nothrow @nogc

Get/set socket's blocking flag.

When a socket is blocking, calls to receive(), accept(), and send() will block and wait for data/action. A non-blocking socket will immediately return instead of blocking.

void blocking(bool byes) @property @trusted

ditto