Purchase Solution

TCP and Acknowledgements

Not what you're looking for?

Ask Custom Question

Question: Consider a TCP sender and receiver.

Assume bytes 0 .. 99 have been sent, received, and acknowledged (the sender has received ack's for them). Assume the sender sends the following segments (of 20 bytes each): 100, 120, 140, 160, 180, 200.

Assume these segments are received in the following order:

140
160
120
100
180
200

Show me what ack is generated by the receive after receiving each of these segments. Will the sender retransmit a packet? Which one and when?

Purchase this Solution

Solution Summary

In 240 words, this solution provides an explanation of how to consider a TCP sender and receiver sequence and understand the pattern of retransmission.

Solution Preview

Ack: The ack will be the next byte sequence number the receiver expects to receive from the sender. So if the segment is of 20 bytes long, then if the receiver receives a segment with sequence number of X, then the ack will be X+20. So,

140 --> ack: 160
160 -->ack: 180
120 -->ack: 140
100 --> ack: 120
180 ...

Purchase this Solution


Free BrainMass Quizzes
Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Basic Networking Questions

This quiz consists of some basic networking questions.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.