tcp_err()

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.

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