I have been testing Wifi Server and found that
LWiFiClient.connected() does not return false when the connection of lost.
i.e. connect from Android phone (via AP) LinkIt <-> AP <-> Android phone
Make connection and then shut down phone so closing connection
LWiFiClient.connected() continues to return true.
This stops the sketch accepting any further connections.
testWifiServer.ino.pdf (47.6 KB)