MCPcopy Create free account
hub / github.com/chronoxor/CppServer / onReceived

Method onReceived

examples/tcp_chat_client.cpp:48–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 }
47
48 void onReceived(const void* buffer, size_t size) override
49 {
50 std::cout << "Incoming: " << std::string((const char*)buffer, size) << std::endl;
51 }
52
53 void onError(int error, const std::string& category, const std::string& message) override
54 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected