retagged by
6,973 views
10 votes
10 votes

Consider the three-way handshake mechanism followed during $\text{TCP}$ connection establishment between hosts $P$ and $Q$. Let $X$ and $Y$ be two random $32$-bit starting sequence numbers chosen by $P$ and $Q$ respectively. Suppose $P$ sends a $\text{TCP}$ connection request message to $Q$ with a $\text{TCP}$ segment having $\text{SYN}$ bit $=1$, $\text{SEQ}$ number $=X$, and $\text{ACK}$ bit $=0$. Suppose $Q$ accepts the connection request. Which one of the following choices represents the information present in the $\text{TCP}$ segment header that is sent by $Q$ to $P$?

  1. $\text{SYN}$ bit $=1$, $\text{SEQ}$ number $=X+1$, $\text{ACK}$ bit $=0$, $\text{ACK}$ number $=Y$, $\text{FIN}$ bit $=0$
  2. $\text{SYN}$ bit $=0$, $\text{SEQ}$ number $=X+1$, $\text{ACK}$ bit $=0$, $\text{ACK}$ number $=Y$, $\text{FIN}$ bit $=1$
  3. $\text{SYN}$ bit $=1$, $\text{SEQ}$ number $=Y$, $\text{ACK}$ bit $=1$, $\text{ACK}$ number $=X+1$, $\text{FIN}$ bit $=0$
  4. $\text{SYN}$ bit $=1$, $\text{SEQ}$ number $=Y$, $\text{ACK}$ bit $=1$, $\text{ACK}$ number $=X$, $\text{FIN}$ bit $=0$
retagged by

5 Answers

1 votes
1 votes

This is related to 3 way handshake where  in first handshake, sender send SYN bit. 

In second handshake reciever sends to sender SYN + ACK bit ( remember here the connection gets established)

In third handshake, sender sends ACK bit 

Answer:

Related questions

31 votes
31 votes
5 answers
4
Arjun asked Feb 18, 2021
7,768 views
Gauri said that she can play the keyboard __________ her sister.as well asas better asas nicest asas worse as