MCPcopy Create free account
hub / github.com/HumbleNet/HumbleNet / sendMessage

Function sendMessage

tests/test_peer.cpp:80–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80int sendMessage(PeerId peer, const flatbuffers::FlatBufferBuilder& buffer)
81{
82 int ret = humblenet_p2p_sendto(buffer.GetBufferPointer(), buffer.GetSize(), peer, SEND_RELIABLE, CHANNEL);
83 return ret;
84}
85
86void sendChat(const char* message)
87{

Callers 5

sendChatFunction · 0.85
sendHelloFunction · 0.85
sendChatMethod · 0.85
sendHelloMethod · 0.85
processMessageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected