| 36 | |
| 37 | private: |
| 38 | void start_receive() |
| 39 | { |
| 40 | socket_.async_receive_from( |
| 41 | boost::asio::buffer(recv_buffer_), remote_endpoint_, |
| 42 | std::bind(&udp_server::handle_receive, this, |
| 43 | boost::asio::placeholders::error, |
| 44 | boost::asio::placeholders::bytes_transferred)); |
| 45 | } |
| 46 | |
| 47 | void handle_receive(const boost::system::error_code& error, |
| 48 | std::size_t /*bytes_transferred*/) |
nothing calls this directly
no test coverage detected