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

Function main

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

Source from the content-addressed store, hash-verified

102};
103
104int main()
105{
106 try
107 {
108 boost::asio::io_context io_context;
109 tcp_server server(io_context);
110 io_context.run();
111 }
112 catch (std::exception& e)
113 {
114 std::cerr << e.what() << std::endl;
115 }
116
117 return 0;
118}

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected