MCPcopy Create free account
hub / github.com/SmingHub/Sming / onClientComplete

Method onClientComplete

Sming/Components/Network/src/Network/TcpServer.cpp:113–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113void TcpServer::onClientComplete(TcpClient& client, bool successful)
114{
115 activeClients--;
116 debug_d("TcpSever onComplete: %s\r\n", client.getRemoteIp().toString().c_str());
117 if(clientCompleteDelegate) {
118 clientCompleteDelegate(client, successful);
119 }
120}
121
122bool TcpServer::onClientReceive(TcpClient& client, char* data, int size)
123{

Callers

nothing calls this directly

Calls 3

getRemoteIpMethod · 0.80
c_strMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected