The code looks good, but the LWIP_ASSERT looks like the pcb pointer has be de-referenced, or corrupted. You're using the new pcb pointer provided by the accept callback, right?
Statistics: Posted by ronter — Thu Dec 07, 2023 1:54 am