Re: server.handleClient();
Posted: Fri Dec 11, 2015 2:06 am
Bump! Anyone seen handleClient() behavior like this before?
-->
Open Community Forum for ESP8266, Come share Arduino and IoT (Internet of Things)
https://www.esp8266.com/
int timeout = millis() + 5000;
while (client.available() == 0) {
if (timeout - millis() < 0) {
Serial.println(">>> Client Timeout !");
client.stop();
return;
}