TCPClient

available()

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

// PROTOTYPE
virtual int available();
// SYNTAX
client.available();

Returns the number of bytes available.