background image
OSI Transport Layer Functions 89
The following litany describes the attitude of the current Cisco course books on error recovery:
·
The protocol implementing the connection defines headers and uses part of these headers
to number and acknowledge the data. For example, TCP provides error recovery and
defines a TCP header. The headers used by that protocol have some numbering and
acknowledgment fields to both acknowledge data and notice when it has been lost in
transmission. The endpoints that are sending and receiving data use the fields in this
header to identify that data was sent and to signify that data was received.
·
A sender of data will want an acknowledgment of the data. When an error occurs, many
error-recovery algorithms require the sender to send all data, starting with the lost data. To
limit the negative effect of having to resend lots of data, a window of unacknowledged
data, which can be dynamic in size, is defined. This window defines the maximum amount
of data that can be sent without getting an acknowledgment.
How Error Recovery Is Accomplished
Regardless of which protocol specification performs the error recovery, all work in basically the
same way. Generically, the transmitted data is labeled or numbered. After receipt, the receiver
signals back to the sender that the data was received, using the same label or number to identify
the data. Figure 3-7 summarizes the operation.
Figure 3-7
Forward Acknowledgment
As Figure 3-7 illustrates, the data is numbered, as shown with the numbers 1, 2, and 3. These
numbers are placed into the header used by that particular protocol; for example, the TCP
header contains similar numbering fields. When Barney sends his next frame to Fred, Barney
acknowledges that all three frames were received by setting his acknowledgment field to 4. The
number 4 refers to the next data to be received, which is called forward acknowledgment. This
Fred
Barney
Network
S = 1
S = 2
S = 3
R = 4
Got 1st 3,
give me
#4 next.
10,000
Bytes
of Data
ch03.fm Page 89 Monday, March 20, 2000 4:58 PM