Name

tcp_sent() — Set callback for successful transmission

Synopsis

void tcp_sent (struct tcp_pcb *pcb , err_t (*sent) (void *arg, struct tcp_pcb *tpcb, u16_t len) );

Description

Specifies the callback function that should be called when data has successfully been received (i.e. acknowledged) by the remote host. The len argument passed to the sent callback function gives the number of bytes that were acknowledged by the last acknowledgment.