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
I have a Debian x64 machine and want to make throughput as fast as library
can.
I have application with netcon and application with sockets, but it works
really slow.
I send a char buf[1024] for about 1 048 576 times and it takes more than
1000 seconds ...
this is my lwipopts.h file.
Being out on vacations, I missed part of this thread.
I'm tempted to cite Simon's famous words: think on how would you do it
with Linux (or something like that)
Well, I can't.
Just to learn some more on networking, which I enjoy, I tried to figure
it out, but I can't build something like this with
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
Well, I'm not trying to get paid for helping here ;^)
I noticed
mem_ptr_t)name) % 4) == 0))
in both macros, so sockets.c is actually expecting the 'name' pointer to
be aligned to 32-bit boundaries.
I don't see why and I'm not familiar with lwIP's socket interface, but
this to me seems to