MCPcopy Create free account
hub / github.com/Shangyizhou/A-Tiny-Network-Library / main

Function main

example/echoServer.cc:57–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55};
56
57int main()
58{
59
60 LOG_INFO << "pid = " << getpid();
61 EventLoop loop;
62 InetAddress addr(8080);
63 EchoServer server(&loop, addr, "EchoServer");
64 server.start();
65 loop.loop();
66
67 return 0;
68}

Callers

nothing calls this directly

Calls 2

loopMethod · 0.80
startMethod · 0.45

Tested by

no test coverage detected