Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

In a HTTP session, client A transmits 1460 byte TCP segment to HTTP Server B wit

ID: 3838730 • Letter: I

Question

In a HTTP session, client A transmits 1460 byte TCP segment to HTTP Server B with a sequence number of 98456. Upon receipt of this segment, TCP layer in Server B immediately responds with a 174 byte TCP segment with a sequence number of 42983. Assume that source port of client A is 4174, available buffer size at client A before transmission is 12 kilo-bytes, available buffer size at Server B before reception of TCP segment from A is 24 kilo-bytes. Describe the content of Source Port, Destination Port, Sequence Number, Ack number. Window size and the status of Ack flag in TCP header for the segments from A to B and B to A. Upon receipt of 174 byte segment from B to A. how many additional TCP segments can A transmit to B before receiving the next acknowledgement from B. Assume that A transmits segments whose maximum size is 1460 bytes.

Explanation / Answer

a.

Contents are when A-->B

Seq no=98456

Ack no=99917

Source port=4174 =>as given

Destination port=80 => as Http server

window size =>12KB=>12288 bytes

Ack flag==1

From B-->A

sequence no=42983

Ack no=43158

Source port=80 =>as http server

Destination port=4174

window size =>24KB=>24576 bytes

Ack flag==1

b.

as window size is 24KB of B==24576 bytes

and max MSS is 1460 bytes

then 16 x 1460< 24576 bytes and 17x 1460 >24576 bytes

=So A can send maximum 16 segments to B before receiving next acknoweledgement from B.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote