void tcp_recv
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.
pcb
NULL