.txlen R/O Property

Function:

For the selected socket (selection is made through sock.num), returns the total number of bytes currently found in the TX buffer.

Type:

Word | dword

Value Range:

Platform-dependent, default = 0

See Also:

sock.txfree, sock.newtxlen, sock.txbuffsize


Details

The value returned by this property includes the uncommitted bytes.

Your application may use the sock.notifysent method to get on_sock_data_sent event once the total number of committed bytes in the TX buffer drops below the level defined by the sock.notifysent method.


Older devices had smaller RAM sizes, so the value returned by this property was of the word type. On newer devices with larger RAM capacities, this property has the dword type. Inspect the property's declaration on the platform you are using to make sure you know its type.


.txlen R/O Property

Details