Skip to content

Commit a69cd64

Browse files
committed
Fix issue on Cosm sketch tahat stops after some conenctions
1 parent bc088b6 commit a69cd64

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

WiFi/WiFiClient.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ uint8_t WiFiClient::connected() {
128128

129129
return !(s == LISTEN || s == CLOSED || s == FIN_WAIT_1 ||
130130
s == FIN_WAIT_2 || s == TIME_WAIT ||
131+
s == SYN_SENT || s== SYN_RCVD ||
131132
(s == CLOSE_WAIT && !available()));
132133
}
133134
}

0 commit comments

Comments
 (0)