Consider hosts A and B that are communicating over a TCP connection. Suppose A sends two segments S1 and S2 to B back-to-back. S1 and S2 have sequence numbers 231 and 271, respectively. In S1, the source port number is 1538, and the destination port number is 80. S2 contains 30 bytes of data. Host B sends an acknowledgment whenever it receives a segment from A. S1 arrives before S2.
Answer the following questions:
a) How much data is in S1?
b) In the acknowledgment to S1, what are the acknowledgment number, the source port number, and the destination port number?
c) Suppose the first acknowledgment is lost and the second acknowledgment arrives after the first timeout interval. Draw a timing diagram, showing these segments and all other segments andacknowledgments sent. (Assume there is no additional packet loss.) For each segment in your figure, provide the sequence number and the number of bytes of data; for each acknowledgment that you draw, provide the acknowledgment number