We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81859c5 commit e4e182aCopy full SHA for e4e182a
libraries/ESP8266WiFi/examples/WiFiClient/WiFiClient.ino
@@ -73,7 +73,7 @@ void loop() {
73
"Connection: close\r\n\r\n");
74
unsigned long timeout = millis();
75
while (client.available() == 0) {
76
- if (millis() - timeout < 5000) {
+ if (millis() - timeout > 5000) {
77
Serial.println(">>> Client Timeout !");
78
client.stop();
79
return;
0 commit comments