Suppose Host A and Host B are communicating with each other over a TCP connectio
ID: 3654995 • Letter: S
Question
Suppose Host A and Host B are communicating with each other over a TCP connection. Host A sends a segment to Host B with sequence number 36, acknowledgement number 48, and 6 bytes of data. After receiving this segment, Host B sends a segment to Host A with 8 bytes of data. What is the sequence number and the acknowledgement number of the segment sent by Host B?Explanation / Answer
Sequence number (in ACK packet) is a byte number the peer expects to receive next or the byte number from that the peer starts transmisson (in data packet). > a) In the second segment sent from Host A to Host B, what are the sequence number, source port number and destination port number? Sequence number 289 Source port 503 Destination port 80 b) If the first segment arrives before the second segment, in the acknowledgement of the first arriving segment what are the acknowledgement sequence number, the source port number, and the destination port number? ACK sequence number = 289 Source number 80 (reversed) Destination number 503 c) If the second segment arrives before the first segment, in the acknowledgement of the first arriving segment what is the acknowledgement sequence number? Exactly the same as b) because "TCP primarily uses a cumulative acknowledgment scheme, where the receiver sends an acknowledgment signifying that the receiver has received all data preceding the acknowledged sequence number." ACK sequence number = 289 Source number 80 Destination number 503
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.