lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Re-Transmission from PC is ignored due to sequence numb


From: address@hidden
Subject: Re: [lwip-users] Re-Transmission from PC is ignored due to sequence number
Date: Mon, 23 Apr 2018 17:49:54 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

On 23.04.2018 17:18, Patrick Klos wrote:
[..]
Thinking about the retransmission from PC side:
Shouldn't lwip also do a retransmission of the lost frame?
You know, these bytes never get acknowledged by PC.
Yes, the LwIP side should have retransmitted the packet.  Packet 21 of
the trace file shows an ACK of 00009b45, so even though the LwIP device
thought it sent a response to the PC (bumping the ACK to 00009b56), LwIP
should have noticed that and resent the data from the previous packet.

On what basis do you say that? Retransmissions are triggered mainly in two ways:
a) timeout (this did not happen here)
b) dup-acks: a fast retansmission is done if 2 duplicate acks are receiver (i.e. three times the same ACK). This is not the case here, we just received the 2nd ACK.

I'm still saying lwIP is correct.

Simon



reply via email to

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