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

Method client

example/cpp11/timeouts/blocking_udp_client.cpp:50–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48{
49public:
50 client(const udp::endpoint& listen_endpoint)
51 : socket_(io_context_, listen_endpoint)
52 {
53 }
54
55 std::size_t receive(const boost::asio::mutable_buffer& buffer,
56 std::chrono::steady_clock::duration timeout,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected