Inherited from posix::basic_descriptor.
Sets the non-blocking mode of the descriptor.
void non_blocking( bool mode);
true, the descriptor's
synchronous operations will fail with
if they are unable to perform the requested operation immediately.
operations will block until complete.
Thrown on failure.
The non-blocking mode has no effect on the behaviour of asynchronous
operations. Asynchronous operations will never fail with the error