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

Method open

lib_acl_cpp/samples/connect_manager/connect_client.cpp:16–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14}
15
16bool connect_client::open()
17{
18 if (conn_.open(addr_, conn_timeout_, rw_timeout_)) {
19 printf("Connect %s ok\r\n", addr_.c_str());
20 return true;
21 }
22 printf("Connect %s error %s\r\n", addr_.c_str(), acl::last_serror());
23 return false;
24}

Callers 4

runMethod · 0.45
connect_serverMethod · 0.45
db_createMethod · 0.45
db_updateMethod · 0.45

Calls 2

last_serrorFunction · 0.50
c_strMethod · 0.45

Tested by

no test coverage detected