This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

EK-TM4C1294XL: Project enet_s2e - what is right pcb ? (file telnet.c)

Part Number: EK-TM4C1294XL

File telnet.c  line 2428

In file telnet.c is on row 2428 used as parameter of "tcp_accepted"  pcb from line 2371 TelnetAccept(void *arg, struct tcp_pcb *pcb, err_t err).

According Adam Dunkels notice in  file .../lwip-1.4.1/doc/rawapi.txt, line 150: "ATTENTION: the PCB passed in must be the listening pcb, not the pcb passed
into the accept callback!"

What is right, please ?

Thanks

Jim