MCPcopy Create free account
hub / github.com/caozhiyi/CppNet / SetConnectionCallback

Method SetConnectionCallback

net/CppNetImpl.cpp:183–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183void CCppNetImpl::SetConnectionCallback(const connection_call_back& func) {
184 _connection_call_back = func;
185}
186
187#ifndef __linux__
188bool CCppNetImpl::Connection(const std::string& ip, uint16_t port, const char* buf, uint32_t buf_len) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected