available method

int available ()

Returns the number of received and unread bytes in the socket that can be read.

Implementation

int available();