TCPClient

connected()

TCPClient::connected, connected, TCPClient.connected

Whether or not the client is connected. Note that a client is considered connected if the connection has been closed but there is still unread data.

// SYNTAX
client.connected();

Returns true if the client is connected, false if not.