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

Method handle_accept

example/cpp11/windows/transmit_file.cpp:134–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132 }
133
134 void handle_accept(connection::pointer new_connection,
135 const boost::system::error_code& error)
136 {
137 if (!error)
138 {
139 new_connection->start();
140 }
141
142 start_accept();
143 }
144
145 tcp_acceptor acceptor_;
146 std::string filename_;

Callers

nothing calls this directly

Calls 1

startMethod · 0.45

Tested by

no test coverage detected