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

Method send

lib_acl_cpp/src/connpool/tcp_ipc.cpp:87–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87bool tcp_ipc::send(const char* addr, const void* data, unsigned int len,
88 string* out /* = NULL */)
89{
90 tcp_pool* pool = (tcp_pool*) manager_->peek(addr, true);
91 if (pool == NULL) {
92 manager_->set(addr, max_, conn_timeout_, rw_timeout_);
93 pool = (tcp_pool*) manager_->peek(addr, true);
94 }
95 return send(*pool, data, len, out);
96}
97
98bool tcp_ipc::send(tcp_pool& pool, const void* data, unsigned int len,
99 string* out)

Callers

nothing calls this directly

Calls 5

sendFunction · 0.50
peekMethod · 0.45
setMethod · 0.45
get_addrMethod · 0.45
putMethod · 0.45

Tested by

no test coverage detected