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

Function GetMsg

test/simple/CppNetClient.cpp:13–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11std::string msg = "test msg => ";
12
13std::string GetMsg() {
14 index++;
15 return (msg + std::to_string(index));
16}
17
18void WriteFunc(const Handle& handle, uint32_t len, uint32_t error) {
19 if (error != CEC_SUCCESS) {

Callers 3

ReadFuncFunction · 0.70
ConnectFuncFunction · 0.70
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected