Name

tcp_err() — Set callback for errors

Synopsis

void tcp_err (struct tcp_pcb *pcb , void (*err) (void *arg, err_t err) );

Description

Set callback function to be used on connection errors. The error callback function does not get the connection's pcb passed to it as a parameter since the pcb may already have been deallocated.