| Home | Libraries | People | FAQ | More

#### basic_socket::get_option

Get an option from the socket.

    template<
        typename GettableSocketOption>
    void get_option(
        GettableSocketOption & option) const;

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