MCPcopy Create free account
hub / github.com/acl-dev/acl / main

Function main

lib_acl_cpp/samples/udp/server/main.cpp:55–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55int main(void)
56{
57 const char* addr = "127.0.0.1:8888";
58 udp_sock sock;
59 if (sock.server_open(addr) == false)
60 {
61 printf("server_open %s error %s\r\n",
62 addr, acl::last_serror());
63 return 1;
64 }
65
66 mio(sock, 50000, true);
67
68 return 0;
69}

Callers

nothing calls this directly

Calls 3

server_openMethod · 0.80
mioFunction · 0.70
last_serrorFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…