Name
tcp_poll() — Set application poll callback
Synopsis
void tcp_poll
(
struct tcp_pcb *pcb
, u8_t interval
, err_t (*poll)
(
void *arg, struct tcp_pcb *tpcb)
)
;
Description
Specifies the polling interval and the callback function that should be called to poll the application. The interval is specified in number of TCP coarse grained timer shots, which typically occurs twice a second. An interval of 10 means that the application would be polled every 5 seconds.
2024-12-10 | LWIP Documentation Notices |