Added verbose debug command

This commit is contained in:
Mimmo La Fauci 2012-03-24 09:10:02 +01:00
parent bcfde7af9a
commit 28da3b1d38
1 changed files with 2 additions and 1 deletions

View File

@ -126,7 +126,8 @@ uint8_t WiFiClient::connected() {
} else { } else {
uint8_t s = status(); 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())); (s == CLOSE_WAIT && !available()));
} }
} }