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

Method client

example/cpp11/timeouts/async_tcp_client.cpp:89–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87{
88public:
89 client(boost::asio::io_context& io_context)
90 : socket_(io_context),
91 deadline_(io_context),
92 heartbeat_timer_(io_context)
93 {
94 }
95
96 // Called by the user of the client class to initiate the connection process.
97 // The endpoints will have been obtained using a tcp::resolver.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected