Re: [lwip-users] packets dropped ,no space: which PCB?
You're right . I edited my question. I have only one PCB. I was trying to find out is there any change in states (closed, aborted,etc.). I don't know how. -- View this message in context: http://lwip.100.n7.nabble.com/packets-dropped-no-space-which-PCB-tp23073p23083.html Sent from the lwip-users mailing list archive at Nabble.com. ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users
Re: [lwip-users] packets dropped ,no space: which PCB?
I assume you are trying to mean that you actually know some pcb somewhere is not freeing pbufs and you need to find out which one it is... I don't think flushing or restarting the stack is a "solution". If I'm in the right path, then I'd suggest you enable statistics and print them on the functions where you'd usually free pbufs and pcbs and check that everyone is freeing what is supposed to free. grep -R "packet dropped, no space" * does not return any hits, so I also suggest you take note of the actual error, search for it in the sources, and then, with a clue of what to follow, someone here will try to help you find where it can be lurking. BTW, you wrote "other tasks", pay attention to lwIP rules for multiple threads (same as Highlander: "there can be only one") and please describe what are you doing with what (raw?, netconn?, ?) ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users
[lwip-users] packets dropped ,no space: which PCB?
Hi *My LwIP application desc.:* Lwip server receives TCP packets and starts processing from one remote client. *the problem :* after processing only *255 *packets (I've set counter in recv. callback) pcb returns 'packet dropped, no space' and stops working. while program is alive and other tasks (like xemacif_input()) are running. *Question:* How to determine which PCB the error is returned by? How to flush it or restart it? any Ideas... Thanks in advance. -- View this message in context: http://lwip.100.n7.nabble.com/packets-dropped-no-space-which-PCB-tp23073.html Sent from the lwip-users mailing list archive at Nabble.com. ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users