UDPSocket.PacketsAvailable

From Xojo Documentation

Read-Only Property (As Integer )
IntegerValue = aUDPSocket.PacketsAvailable

Supported for all project types and targets.

The number of packets available in the internal receive buffer.