Name

tcp_accept() — Set callback used for new incoming connections

Synopsis

void tcp_accept (struct tcp_pcb *pcb , err_t (*accept) (void *arg, struct tcp_pcb *newpcb, err_t err) );

Description

Specify the callback function that should be called when a new connection arrives for a listening TCP PCB.