mirror of https://github.com/noisymime/Arduino.git
Fix issue on Cosm sketch tahat stops after some conenctions
This commit is contained in:
parent
bc088b6e84
commit
a69cd64d5b
|
@ -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()));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue