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

Method chat_server

example/cpp11/chat/chat_server.cpp:172–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170{
171public:
172 chat_server(boost::asio::io_context& io_context,
173 const tcp::endpoint& endpoint)
174 : acceptor_(io_context, endpoint)
175 {
176 do_accept();
177 }
178
179private:
180 void do_accept()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected