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

Function usage

lib_acl_cpp/samples/connect_manager/main.cpp:158–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158static void usage(const char* procname)
159{
160 printf("usage: %s -h [help]\r\n"
161 " -s server_addrs [www.sina.com.cn:80;www.263.net:80;www.qq.com:80]\r\n"
162 " -c cocurrent_and_max_conns [default: 10]\r\n"
163 " -m min_conns[default: 0]\r\n"
164 " -o idle_ttl[default: 10]\r\n"
165 " -t check_type [0: no check; 1: sync check; 2: async check]\r\n"
166 " -p protocol [http|pop3]\r\n"
167 " -d delay_seconds\r\n"
168 " -C [use threads pool to check connections]\r\n"
169 " -n loop_count[default: 10]\r\n", procname);
170}
171
172int main(int argc, char* argv[])
173{

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…