| 120 | } |
| 121 | |
| 122 | bool TcpServer::onClientReceive(TcpClient& client, char* data, int size) |
| 123 | { |
| 124 | debug_d("TcpSever onReceive: %s, %d bytes\r\n", client.getRemoteIp().toString().c_str(), size); |
| 125 | if(clientReceiveDelegate) { |
| 126 | return clientReceiveDelegate(client, data, size); |
| 127 | } |
| 128 | return true; |
| 129 | } |
| 130 | |
| 131 | err_t TcpServer::staticAccept(void* arg, tcp_pcb* new_tcp, err_t err) |
| 132 | { |
nothing calls this directly
no test coverage detected