BytesLeftToSend property
From Xojo Documentation
(Redirected from Serial.BytesLeftToSend)Read-Only Property (As Integer )
The number of bytes left in the queue remaining to be sent.
Notes
This enables you to create a synchronous socket without needing to subclass it.
For a SMTPSocket object, BytesLeftToSend is not a valid way to know whether the socket sent mail. Close the socket too fast and data may still be on the way. Also the socket has to logout properly.
Classes implementing the BytesLeftToSend property
IPCSocket | ||
Serial | New in 2005r1 | |
TCPSocket | New in 5.5 |
Sample Code
TextField1.Text = Str(Me.BytesLeftToSend)