|Subject:||Re: [lwip-users] TCP ACK Problem?|
|Date:||Tue, 27 Aug 2013 09:44:19 -0400|
Doesn’t it make sense to update to 1.4.1 before asking about a bug or problem?
From: address@hidden [mailto:address@hidden On Behalf Of Rodrigo Garbi
2013/8/23 Rodrigo Garbi <address@hidden>
I'm working with FreeRTOS v7.0.1 and LwIP 1.4.0 and I'm facing the following problem:
Device A and B transmit data every 40 ms to my board (where I'm running LwIP) and once in a while I can notice some data from device A is being missed.
So I did some research with CommView and found that:
1) Device A sends data (9 bytes length) to my board and get correct ACK from it:
Response from my board:
2) Device A send 9-bytes data to my board, but this won´t ACK:
3)Device A does not care about it (maybe because data is already in ethernet transceiver buffer) and sends a new data (9-bytes); my board will not ACK it:
5) Same as 3
6) Finally, device A is aware of the problem and retransmits data, but instead of transmitting 36 bytes (9 x 4), only transmits 18 bytes
And my board running Lwip 1.4.0 will acknowledge 36 bytes instead of 18:
So device A won´t transmit last two 9-bytes packets, and they will be lost!
Anyone can help me with this? Is it a bug in LwIP or what is happening?
|[Prev in Thread]||Current Thread||[Next in Thread]|