Arduino Function: WiFiClient.connected

Description

Whether or not the client is connected. If the connection has been closed but there is still unread data, a client is considered connected.

Syntax

client.connected()

Returns

 True: client is connected. False: client is not connected.


Based on the reference originally written by Arduino Community,  wiring.org.co and  arduino.cc