Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations - NIMCET

Previous Year Question (PYQs)



Consider the three-way handshaking process followed during TCP connection establishment between two hosts A and B. Let S and R be two random 32-bit starting sequence numbers chosen by A and B respectively. Suppose A sends a TCP segment having SYN bit = 1, SEQ number = S and ACK bit = 0 and B accepts the connection request.

Which one of the following choices represents the information present in the TCP segment header that is sent by B to A ?






Solution

TCP 3-way handshake:


Step 1

A → B


SYN = 1

SEQ = S


Step 2

B → A


SYN = 1

ACK = 1

SEQ = R

ACK = S + 1


Thus correct header fields:


SYN = 1

SEQ = R

ACK = 1

ACK = S + 1



Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...