poll_tcp() is only used within LwIP.
 
Symbols
loading...
Files
loading...

poll_tcp() function

Poll callback function for TCP netconns. Wakes up an application thread that waits for a connection to close or data to be sent. The application thread then takes the appropriate action to go on. Signals the conn->sem. netconn_close waits for conn->sem if closing failed. @see tcp.h (struct tcp_pcb.poll) for parameters and return value

Syntax

static err_t poll_tcp(void *arg,     struct tcp_pcb *pcb);

Arguments

arg

pcb