Itzik Levi wrote:
I'll recap the setup:

 1. Non blocking sockets.
 2. poll(thread 1).


OK, poll is pretty new. There might be problems of course, as it's new code and also select has change a bit due to adding poll support.

 1. read/write in 2 different threads, but not in parallel, mutex
    protected.
 2. poll may occur in parallel to read/write.


But the original problem, as described, is the matter of tcp stream corruption.

I still don't get your test setup. You said the final thing is PPPoS, but you're having tcp streams for now? Is your test prepared for retransmissions? Because these are expected if you drop TX bytes!

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

Reply via email to