MCPcopy Create free account
hub / github.com/alibaba/async_simple / main

Function main

demo_example/block_echo_client.cpp:57–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57int main(int argc, char* argv[]) {
58 try {
59 asio::io_context io_context;
60 start(io_context, "127.0.0.1", "9980");
61 std::cout << "Finished ok, client quit.\n";
62 } catch (std::exception& e) {
63 std::cerr << "Exception: " << e.what() << "\n";
64 }
65
66 return 0;
67}

Callers

nothing calls this directly

Calls 2

whatMethod · 0.80
startFunction · 0.70

Tested by

no test coverage detected