Xojo.Net.TCPSocket.DataAvailable
From Xojo Documentation
Event
Called when additional data has come into the internal receive buffer.
Notes
It is your responsibility to read the data from the buffer using the ReadData method.
This event is reentrant which means you should not process the data you have received in this event. Instead, copy it into a property and then use a Timer to process the data. Specifically, use Timer.CallLater method. |