SocketCore.Purge
From Xojo Documentation
Method
Removes all data from the socket’s internal receive buffer. It does not affect the socket’s internal send buffer.
Example
Listener.Purge
Removes all data from the socket’s internal receive buffer. It does not affect the socket’s internal send buffer.