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

Function WriteFunc

test/simple/CppNetServer.cpp:18–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18void WriteFunc(const Handle& handle, uint32_t len, uint32_t error) {
19 if (error != CEC_SUCCESS) {
20 std::cout << "[WriteFunc] something error : " << error << std::endl;
21 }
22}
23
24void ReadFunc(const Handle& handle, base::CBuffer* data, uint32_t len, uint32_t error) {
25 if (error != CEC_CLOSED && error != CEC_CONNECT_BREAK) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected