Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

Click here to view the latest version of this page.
PrevUpHomeNext

posix::basic_descriptor::non_blocking_io

Inherited from posix::descriptor_base.

IO control command to set the blocking mode of the descriptor.

typedef implementation_defined non_blocking_io;

Implements the FIONBIO IO control command.

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

Header: boost/asio/posix/basic_descriptor.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext