| Home | Libraries | People | FAQ | More

#### basic_socket_acceptor::set_option

Set an option on the acceptor.

    template<
        typename SettableSocketOption>
    void set_option(
        const SettableSocketOption & option);

    template<
        typename SettableSocketOption>
    boost::system::error_code set_option(
        const SettableSocketOption & option,
        boost::system::error_code & ec);