on_sock_data_sent Event

Function:

Generated after the total amount of committed data in the TX buffer of the socket (sock.txlen/sock.newtxlen) is found to be less than the threshold that was preset through the sock.notifysent method.

Declaration:

on_sock_data_sent

See Also:

---


Details

To cause generation of the on_sock_data_sent event, the application needs to use sock.notifysent each time. When the event handler is entered, sock.num is automatically switched to the socket on which this event was generated.

Please remember that uncommitted data in the TX buffer is not taken into account for on_sock_data_sent event generation.


on_sock_data_sent Event

Details