asio C++ library

PrevUpHomeNext

posix::basic_stream_descriptor::non_blocking_io

Inherited from posix::descriptor_base.

(Deprecated: Use non_blocking().) IO control command to set the blocking mode of the descriptor.

typedef implementation_defined non_blocking_io;

Implements the FIONBIO IO control command.

Example
asio::posix::stream_descriptor descriptor(io_service);
...
asio::descriptor_base::non_blocking_io command(true);
descriptor.io_control(command);
Requirements

Header: asio/posix/basic_stream_descriptor.hpp

Convenience header: asio.hpp


PrevUpHomeNext