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

Function WriteFunc

test/echo/EchoClient.cpp:19–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19void WriteFunc(const Handle& handle, uint32_t len, uint32_t error) {
20 if (error != CEC_SUCCESS) {
21 std::cout << "something err while write : " << error << std::endl;
22 }
23 // do nothing
24}
25
26void ReadFunc(const Handle& handle, base::CBuffer* data, uint32_t len, uint32_t error) {
27 if (error != CEC_SUCCESS) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected