Skip to main content
2 of 2
added 5 characters in body
dda
  • 1.6k
  • 1
  • 12
  • 18

Arduino IDE documentation for WiFi.connected()

I'm including this library "ESP8266WiFi.h" at the top of my sketch. I can find documentation on WiFiServer.available(), but didn't find for WiFi.connected(), which is called in a server sketch after getting the client.

Clearly it's a test whether (once? I believe) the client is connected or not (and hasn't been explicitly closed in the server's side). It may seem obvious but some documented info would be helpful though.

YoussefDir
  • 101
  • 1
  • 1
  • 5