Boost.Socks Logo

PrevUpHomeNext

connect

Connect to the application server through a SOCKS5 server.

template<
    class SyncStream>
endpoint
connect(
    SyncStream& s,
    endpoint const& ep,
    auth_options const& opt,
    error_code& ec);
  » more...

template<
    class SyncStream>
endpoint
connect(
    SyncStream& s,
    string_view app_domain,
    std::uint16_t app_port,
    auth_options const& opt,
    error_code& ec);
  » more...

PrevUpHomeNext