mirror of https://github.com/noisymime/Arduino.git
Added verbose debug command
This commit is contained in:
parent
bcfde7af9a
commit
28da3b1d38
|
@ -126,7 +126,8 @@ uint8_t WiFiClient::connected() {
|
|||
} else {
|
||||
uint8_t s = status();
|
||||
|
||||
return !(s == LISTEN || s == CLOSED || s == FIN_WAIT_1 || s == FIN_WAIT_2 ||
|
||||
return !(s == LISTEN || s == CLOSED || s == FIN_WAIT_1 ||
|
||||
s == FIN_WAIT_2 || s == TIME_WAIT ||
|
||||
(s == CLOSE_WAIT && !available()));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue