Inherited from basic_socket.
Sets the non-blocking mode of the socket.
asio::error_code non_blocking( bool mode, asio::error_code & ec);
true, the socket's
synchronous operations will fail with
if they are unable to perform the requested operation immediately.
operations will block until complete.
Set to indicate what error occurred, if any.
The non-blocking mode has no effect on the behaviour of asynchronous
operations. Asynchronous operations will never fail with the error