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.

CCS/TM4C1294NCPDT: LWIP second connection problem

Part Number: TM4C1294NCPDT

Tool/software: Code Composer Studio

Hi everyone

I have a problem with lwip 1.4.1 RAW API.

Problem is below:

My application is create two socket server and bind difference port.(hereinafter called 'Port A', 'Port B' )

When the port A not connected, port B will connected well.

But when port A connected, connect to port B will let lwip stop work.

The debug message:

tcp_slowtmr: processing active pcb
tcp_slowtmr: processing active pcb
tcp_slowtmr: processing active pcb
tcp_slowtmr: processing active pcb
tcp_slowtmr: polling application
TCP connection request 58738 -> port B.
ASSERT_FAIL at line 182 of C:/ti/TivaWare_C_Series-2.0.1.11577/third_party/lwip-1.4.1/src/core/tcp_in.c: tcp_input: pcb->next != pcb (before cache)
ASSERT_FAIL at line 188 of C:/ti/TivaWare_C_Series-2.0.1.11577/third_party/lwip-1.4.1/src/core/tcp_in.c: tcp_input: pcb->next != pcb (after cache)
TCP connection established 58738 -> port B.

Please help me to solve it, thank you.

Allen