Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/caozhiyi/CppNet
/ GetMsg
Function
GetMsg
test/simple/CppNetServer.cpp:13–16 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
11
std::string msg =
"test msg => "
;
12
13
std::string GetMsg() {
14
index++;
15
return (msg + std::to_string(index));
16
}
17
18
void WriteFunc(const Handle& handle, uint32_t len, uint32_t error) {
19
if (error != CEC_SUCCESS) {
Callers
1
ReadFunc
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected