1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-03-13 10:29:35 +01:00

Added verbose debug command

This commit is contained in:
Mimmo La Fauci 2012-03-24 09:10:02 +01:00
parent bcfde7af9a
commit 28da3b1d38

View File

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