Inherited from posix::basic_descriptor.
Sets the non-blocking mode of the native descriptor implementation.
void native_non_blocking( bool mode, asio::error_code & ec);
This function is used to modify the non-blocking mode of the underlying native descriptor. It has no effect on the behaviour of the descriptor object's synchronous operations.
true, the underlying descriptor is put into non-blocking
mode and direct system calls may fail with
(or the equivalent system error).
Set to indicate what error occurred, if any. If the
false, but the current value of
true, this function fails with
as the combination does not make sense.