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
1 changed files with 1 additions and 0 deletions

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()));
}
}