diff --git a/WifiESP32.cpp b/WifiESP32.cpp index 770557e..3be3827 100644 --- a/WifiESP32.cpp +++ b/WifiESP32.cpp @@ -193,15 +193,17 @@ void WifiESP::loop() { // really no good way to check for LISTEN especially in AP mode? if (APmode || WiFi.status() == WL_CONNECTED) { - if (server->hasClient()) { - // loop over all clients and remove inactive - for (clientId=0; clientIdhasClient()) { WiFiClient client; while (client = server->available()) { clients.push_back(client);