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:
parent
bc088b6e84
commit
a69cd64d5b
@ -128,6 +128,7 @@ uint8_t WiFiClient::connected() {
|
|||||||
|
|
||||||
return !(s == LISTEN || s == CLOSED || s == FIN_WAIT_1 ||
|
return !(s == LISTEN || s == CLOSED || s == FIN_WAIT_1 ||
|
||||||
s == FIN_WAIT_2 || s == TIME_WAIT ||
|
s == FIN_WAIT_2 || s == TIME_WAIT ||
|
||||||
|
s == SYN_SENT || s== SYN_RCVD ||
|
||||||
(s == CLOSE_WAIT && !available()));
|
(s == CLOSE_WAIT && !available()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user