client successfully establishes a connection to server . Let denote the sequence number in the sent from to . Let denote the acknowledgement number in the SYN ACK from to . Which of the following statements is/are CORRECT?
View worked solution
Answer: A;D
To determine the correct statements, let's analyze the TCP 3-way handshake process between the client and the server :
- Initial Sequence Number ():
- When client initiates a connection, it sends a packet with an Initial Sequence Number (ISN), denoted here as .
- This ISN is chosen randomly (or via a pseudo-random generator) to prevent security vulnerabilities like TCP sequence prediction attacks and to avoid confusion with packets from previous closed connections. It is not always .
- Thus, Statement A is correct and Statement B is incorrect.
- Acknowledgement Number in SYN-ACK ():
- The flag consumes exactly sequence number, even though the packet contains no payload data.
- When server receives the packet with sequence number , it responds with a packet.
- The acknowledgement number () in this packet indicates the next sequence number expects to receive from . Therefore, .
- Thus, Statement D is correct and Statement C is incorrect.
Hence, the correct options are A and D.
Free practice · Your answers on this page are not saved.
