Boost.Socks Logo

PrevUpHomeNext

async_connect

Asynchronously connect to the application server through a SOCKS5 server.

template<
    class AsyncStream,
    class CompletionToken>
DEDUCED
async_connect(
    AsyncStream& s,
    endpoint const& ep,
    auth_options const& opt,
    CompletionToken&& token);
  » more...

template<
    class AsyncStream,
    class CompletionToken>
DEDUCED
async_connect(
    AsyncStream& s,
    string_view app_domain,
    std::uint16_t app_port,
    auth_options const& opt,
    CompletionToken&& token);
  » more...

PrevUpHomeNext