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

Method SetConnectionCallback

net/CppNet.cpp:66–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66void cppnet::CCppNet::SetConnectionCallback(const connection_call_back& func) {
67 _cppnet_instance->SetConnectionCallback(func);
68}
69
70#ifndef __linux__
71bool cppnet::CCppNet::Connection(const std::string& ip, int16_t port, const char* buf, int32_t buf_len) {

Callers 5

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
StartMethod · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected