MCPcopy Create free account
hub / github.com/boostorg/asio / do_connect

Method do_connect

example/cpp11/chat/chat_client.cpp:53–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51
52private:
53 void do_connect(const tcp::resolver::results_type& endpoints)
54 {
55 boost::asio::async_connect(socket_, endpoints,
56 [this](boost::system::error_code ec, tcp::endpoint)
57 {
58 if (!ec)
59 {
60 do_read_header();
61 }
62 });
63 }
64
65 void do_read_header()
66 {

Callers

nothing calls this directly

Calls 1

async_connectFunction · 0.50

Tested by

no test coverage detected