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

Method read

example/cpp11/fork/process_per_connection.cpp:114–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112 }
113
114 void read()
115 {
116 socket_.async_read_some(boost::asio::buffer(data_),
117 [this](boost::system::error_code ec, std::size_t length)
118 {
119 if (!ec)
120 write(length);
121 });
122 }
123
124 void write(std::size_t length)
125 {

Callers 7

handle_requestMethod · 0.45
handle_requestMethod · 0.45
handle_requestMethod · 0.45
operator()Method · 0.45
handle_requestMethod · 0.45
icmp_headerClass · 0.45
ipv4_headerClass · 0.45

Calls 3

bufferFunction · 0.85
writeFunction · 0.85
async_read_someMethod · 0.45

Tested by

no test coverage detected