PDA

View Full Version : TCP Exam Question


feidhlim1986
2008-08-17, 18:07
I'm doing a networking exam in a few days, and I need a little help with a part of a question.

1) Consider two hosts, A and B, with an open TCP session. A sends a segment
with sequence number 120 and after some time receives a segment from B
with sequence number 800 and acknowledgment number 140. How many
bytes were received and confirmed by host B? What is the meaning of 800?
[5 marks]

2) If B receives two segments from A with no errors, the first with sequence
number 120, and the second with sequence number 220, and each carries 50
bytes, what will be the acknowledgment number sent by B to A?
[5 marks]

Could anyone help with calculating the answers? Thanks in advance.

Gargoyle
2008-08-18, 07:31
That's pretty heavy protocol stuff, your best bet would be wikipedia.

Yonzie
2008-08-18, 09:26
http://tools.ietf.org/html/rfc2018