lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] How to avoid lwIP v2.1.2 udp send stuck when data is co


From: Lan Yang
Subject: Re: [lwip-users] How to avoid lwIP v2.1.2 udp send stuck when data is coming in faster than it is going out
Date: Fri, 16 Sep 2022 19:04:22 +0800


Hi Сергей Борщ,

Your answer helped me!

There are still some points that are still unclear. 

First point, when to pause the case for some time to let LwIP send out some data,
and when to continue the case after the pause succeeds? 

Second point, I just send UDP data by calling the function udp_send(), 
and I thought the LwIP would drop the extra data inside itself.
But the test result is when data coming in to the LwIP is faster than LwIP send them out,
LwIP will be stuck. It just seems that the LwIP won't drop the extra data.
So I need to drop the extra data on the application layer, but the question is how can I know which data is the extra data?

С уважением,
Lan





CONFIDENTIALITY NOTICE: The contents of this email and any attachments are intended solely for the addressee(s) and contain confidential and/or privileged information and are legally protected from disclosure unless otherwise indicated. If you received this message by mistake, please immediately alert the sender by reply email and then delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited.  

reply via email to

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