lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Lwip tcp-stack reliability issue when using non-reliabl


From: address@hidden
Subject: Re: [lwip-users] Lwip tcp-stack reliability issue when using non-reliable network?
Date: Tue, 7 Nov 2017 22:25:26 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]