lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Failing to call tcp_write 10 times per second


From: stevestrong
Subject: Re: [lwip-users] Failing to call tcp_write 10 times per second
Date: Sat, 19 Jan 2019 02:13:05 -0700 (MST)

Each time you send the 50 bytes, a pbuf will be reserved.
The pbuf will be freed up only after the successful reception by the host.
So if you don't wait for ACK, your pbuf memory will be consumed by many
consecutive transmission packets waiting for ACK.
You may as well check your low level driver if there is data sent which
should not be.
I am not an expert in LwIP, I am just guessing.





--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html



reply via email to

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