Sock.Tx2len R/O Property

Top  Previous  Next

 

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

Value Range:

0-65535, default= 0 (0 bytes)

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.