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

Method handle_accept

example/cpp11/tutorial/daytime7/server.cpp:88–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

startMethod · 0.45

Tested by

no test coverage detected