MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / SendMsg

Method SendMsg

src/plugin/net/src/AFCTCPClient.cpp:139–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139bool AFCTCPClient::SendMsg(const char* msg, const size_t msg_len, const AFGUID& session_id /* = 0*/)
140{
141 if (nullptr != client_session_ptr_ && client_session_ptr_->GetSession())
142 {
143 client_session_ptr_->GetSession()->send(msg, msg_len);
144 }
145
146 return true;
147}
148
149bool AFCTCPClient::CloseSession(const AFGUID& session_id)
150{

Callers

nothing calls this directly

Calls 4

GetHeadLenMethod · 0.80
lengthMethod · 0.80
emptyMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected