| 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 | { |
no test coverage detected