TCPSocket.BytesAvailable

From Xojo Documentation

Read-Only Property (As Integer )
IntegerValue = aTCPSocket.BytesAvailable

Supported for all project types and targets.

The number of bytes of data are available in the internal receive buffer.

Sample Code

TextField1.Value = Str(Me.BytesAvailable)