| Home | Libraries | People | FAQ | More

#### socket_base::non_blocking_io

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

    typedef implementation_defined non_blocking_io;

Implements the FIONBIO IO control command.

###### Example

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

###### Requirements

Header: `boost/asio/socket_base.hpp`

Convenience header: `boost/asio.hpp`