| 87 | } |
| 88 | |
| 89 | void handle_accept(tcp_connection::pointer new_connection, |
| 90 | const boost::system::error_code& error) |
| 91 | { |
| 92 | if (!error) |
| 93 | { |
| 94 | new_connection->start(); |
| 95 | } |
| 96 | |
| 97 | start_accept(); |
| 98 | } |
| 99 | |
| 100 | boost::asio::io_context& io_context_; |
| 101 | tcp::acceptor acceptor_; |