tcp_poll()

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.

2017-02-09
Documentation license for this page: eCosPro License