tcp_arg()

Name

tcp_arg() -- Set the application connection state

Synopsis

void tcp_arg(struct tcp_pcb *pcb, void *arg);

Description

The tcp_arg() function specifies the program specific state that should be passed to all other callback functions, or if configured the lwip_tcp_event() function. The "pcb" argument is the current TCP connection control block, and the "arg" argument is the argument that will be passed to the callbacks.

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