Arduino Function: YunClient.available

Description

Returns the number of bytes available for reading (that is, the amount of data that has been written to the client by the server it is connected to).

available() inherits from the Stream utility class.

Syntax

client.available()

Parameters

  • client : the named instance of YunClient

Returns

 The number of bytes available


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