I have a question regarding accepting client PCBs on a listening PCB:

Is it by design that the stack aborts an already connected PCB, if it fails to allocate a free TCP PCB from the memory pools to handle pending connection requests?

Yes, that's by design. Note that pcbs have a priority (pcb->prio) and only connections that have a lower priority (value) than the newly allocated pcb will be closed.

Surprising news. It wasn't mentioned anywhere. How to assign priorities with sequential API ?

--
Artem

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to