Sock.Txlen R/O Property

Top  Previous  Next

 

Function:

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

Type:

Word

Value Range:

0-65535, default= 0 (0 bytes).

See Also:

---

 


Details

The data in the TX buffer does not become committed until you use the sock.send method.

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.