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

Method handle_accept

example/cpp11/tutorial/daytime3/server.cpp:89–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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_;

Callers

nothing calls this directly

Calls 1

startMethod · 0.45

Tested by

no test coverage detected