eCosPro® Reference Manual
Prev |  | Next

# 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.

Prev | Home | Next
tcp_abort() | Up | Lower layer TCP interface