Computer Networking: A Top Down Approach Featuring the Internet, Jim Kurose, Keith Ross Addison-Wesley 4nd edition , page -223.
Also here slide 60 .
RDT2.1 (Reliable data transfer) -
Sender(s):
state=ready; i=0;
On rdt_send(d,m):
if state=ready
then
{ p=<s,d,m,i,
EDC(s||d||m||i)>;
udt_send(p);
state=busy; }
On udt_deliver(a)
If a=<“ack”,EDC(“ack”)>
then
{ i++;
state=ready; }
else udt_send(p);
When the Sender side is in state=ready , does he still listener to "ack" recived from the Reciver ?
I need to know this , cause if so it seems that the Sender can get duplicate "ack"'s from the reciver and inc the i without sending any packet mainwhile .