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