Re: [lwip-users] packets dropped ,no space: which PCB?

2014-08-28 Thread mobin.seven
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] packets dropped ,no space: which PCB?

2014-08-27 Thread mobin.seven
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

Re: [lwip-users] packets dropped ,no space: which PCB?

2014-08-27 Thread Sergio R. Caprile
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