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

Method open

lib_acl_cpp/src/connpool/tcp_client.cpp:32–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32bool tcp_client::open()
33{
34 if (!conn_->open(addr_, conn_timeout_, rw_timeout_)) {
35 logger_error("connnect %s error %s", addr_, last_serror());
36 return false;
37 }
38
39 return true;
40}
41
42bool tcp_client::try_open(bool* reuse_conn)
43{

Callers 6

try_openMethod · 0.45
rpc_runMethod · 0.45
runMethod · 0.45
peekMethod · 0.45
keep_connsMethod · 0.45

Calls 1

last_serrorFunction · 0.50

Tested by

no test coverage detected