Name
tcp_recv() — Set callback for incoming data
Synopsis
void tcp_recv
              (struct tcp_pcb *pcb
              , err_t (*recv)
                (void *arg, struct tcp_pcb *tpcb, struct pbuf *p, err_t err)
              );
Description
            Sets the callback function that will be called when new data
            arrives on the connection associated with pcb.
            The callback function will be passed a NULL pbuf to
            indicate that the remote host has closed the connection.
          
| 2025-10-02 | LWIP Documentation Notices | 



