.tx2len R/O Property

Function:

For the selected socket (selection is made through sock.num), returns the amount of data waiting to be sent out in the TX2 buffer.

Type:

Word | dword

Value Range:

Platform-dependent, default = 0

See Also:

sock.txlen


Details

The TX2 buffer is needed to transmit outgoing TCP data when inband commands (messages) are enabled (sock.inbandcommands = 1 — YES). If your application needs to make sure that all data is actually sent out from the socket then it must verify that both TX and TX2 buffers are empty.


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.


.tx2len R/O Property

Details