Arduino Function: YunClient.connected

Description

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()

Parameters

  • client : the named instance of YunClient

Returns

boolean true if the client is connected, false if not


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