Xojo.Net.TCPSocket.BytesAvailable

From Xojo Documentation

Read-Only Property (As UInteger )
UIntegerValue = aXojo.Net.TCPSocket.BytesAvailable

Supported for all project types and targets.

The number of bytes of data that are available in the internal receive buffer. You can get the data by calling the ReadData method.