When will a host ACK?

I'm trying to find the rules out when a host will ACK.
Tell me if this is correct.

A host will ACK when:

-it has received 2 full sized packets and none have been acknowledged

-the delayed timer has gone off

-it has data ready in its send buffer

dissolvedAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
gheistConnect With a Mentor Commented:
1) this is selective acknowledgement, there can be one or even more packets (window size / mss)
2) timer is 100ms, same as in Nagle's algorythm
3) this is true, basic working of delayed ack.
Basically this means that it increases efficiency of interactive sessions sending huge bulks of data in interactive manner like database connections, no big change with telnet.
0
 
gheistCommented:
No.
0
 
dissolvedAuthor Commented:
What is incorrect?  I know that most implementations will fire an ACK regardless after 200ms. My question is, does the receiver always go into delayed ack mode upon receiving a segment.
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
gheistCommented:
No
0
 
dissolvedAuthor Commented:
Does anyone know?  
0
 
gheistCommented:
I know - ack/retry algorithm is much more complex than you think.

http://www.cisco.com/univercd/cc/td/doc/cisintwk/ito_doc/ip.htm#xtocid16

0
 
dissolvedAuthor Commented:
That's not what I'm talking about.  My question is in regards to the delayed acknowledgement algorithm, not retransmission or sliding window. I know what those are.

I was trying to get confirmation on the delayed ack algorithm.

A host is supposed to ACK if:

-it has received 2 full size MSS packets that have not yet been acknowledged.

-If 200ms has passed since receiving a packet

-If data is immediately ready for transmission to sender, upon receiving a segment (such as in interactive sessions ie: telnet)
0
All Courses

From novice to tech pro — start learning today.