1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-18 07:52:14 +01:00

Fix issue on Cosm sketch tahat stops after some conenctions

This commit is contained in:
Mimmo La Fauci 2012-05-30 09:08:36 +02:00
parent bc088b6e84
commit a69cd64d5b

View File

@ -128,6 +128,7 @@ uint8_t WiFiClient::connected() {
return !(s == LISTEN || s == CLOSED || s == FIN_WAIT_1 ||
s == FIN_WAIT_2 || s == TIME_WAIT ||
s == SYN_SENT || s== SYN_RCVD ||
(s == CLOSE_WAIT && !available()));
}
}