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

Method write

example/cpp11/fork/process_per_connection.cpp:124–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122 }
123
124 void write(std::size_t length)
125 {
126 boost::asio::async_write(socket_, boost::asio::buffer(data_, length),
127 [this](boost::system::error_code ec, std::size_t /*length*/)
128 {
129 if (!ec)
130 read();
131 });
132 }
133
134 boost::asio::io_context& io_context_;
135 boost::asio::signal_set signal_;

Callers 1

get_daytimeFunction · 0.45

Calls 3

async_writeFunction · 0.85
bufferFunction · 0.85
readFunction · 0.85

Tested by

no test coverage detected