Solved

When will a host ACK?

Posted on 2004-09-26
7
371 Views
Last Modified: 2013-12-23
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

0
Comment
Question by:dissolved
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 62

Expert Comment

by:gheist
ID: 12156022
No.
0
 

Author Comment

by:dissolved
ID: 12156085
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
 
LVL 62

Expert Comment

by:gheist
ID: 12157484
No
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:dissolved
ID: 12159161
Does anyone know?  
0
 
LVL 62

Expert Comment

by:gheist
ID: 12159764
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
 

Author Comment

by:dissolved
ID: 12160827
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
 
LVL 62

Accepted Solution

by:
gheist earned 500 total points
ID: 12162353
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

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let’s list some of the technologies that enable smooth teleworking. 
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question