DataAvailable
Previous  Next

Returns true if there is data waiting on the stream.
You can use this method to avoid blocking when reading from the stream.
Syntax: DataAvailable

Example:
If client.DataAvailable = true then
            stream.ReadBytes( ...
End If