in Computer Networks
1,499 views
4 votes
4 votes

In a TCP connection, the initial sequence number at the client site is 1846. The client opens the connection, sends only one segment carrying 1200 bytes of data, and closes the connection. What is the value of the sequence number in SYN, DATA and FIN segment sent by the client? 

  1. 1200, 3046, 4246
  2. 1846, 1200, 3046
  3. 1200, 1846, 3046
  4. 1846, 3046, 3046

 

in Computer Networks
1.5k views

4 Comments

It's a TCP connection so after handshaking sequence number has to increment by 1.
0
0

I reported and key is changed.

 

 

1
1
Great! It may help others.
0
0

1 Answer

0 votes
0 votes
Initially SYN packet is sent with sequence number 1846. Then the DATA packet is sent by sender with sequence number 1847. Since only 1 pkt is sent (as per question), the Data packet contain the TCP header status as FIN i.e to END connection after receiving the packet. So the sequence number of FIN is also 3047
edited by

Related questions