asio C++ library

PrevUpHomeNext

basic_seq_packet_socket::non_blocking_io

Inherited from socket_base.

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

typedef implementation_defined non_blocking_io;

Implements the FIONBIO IO control command.

Example
asio::ip::tcp::socket socket(io_service);
...
asio::socket_base::non_blocking_io command(true);
socket.io_control(command);
Requirements

Header: asio/basic_seq_packet_socket.hpp

Convenience header: asio.hpp


PrevUpHomeNext