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

Method onClient

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

Source from the content-addressed store, hash-verified

102}
103
104void TcpServer::onClient(TcpClient* client)
105{
106 activeClients++;
107 debug_d("TcpServer onClient: %s\r\n", client->getRemoteIp().toString().c_str());
108 if(clientConnectDelegate) {
109 clientConnectDelegate(client);
110 }
111}
112
113void TcpServer::onClientComplete(TcpClient& client, bool successful)
114{

Callers 1

initFunction · 0.45

Calls 3

getRemoteIpMethod · 0.80
c_strMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected