Consider the three-way handshake during TCP connection establishment between hosts A and B. Let S and R be the random 32-bit initial sequence numbers chosen by A and B respectively. A sends a TCP segment with SYN = 1, SEQ = S and ACK bit = 0, and B accepts the connection request. Which of the following represents the information in the TCP header sent by B to A?
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: C. SYN = 1, SEQ = R, ACK bit = 1, ACK number = S+1, FIN = 0
Explanation
B replies with SYN-ACK: SYN = 1 with its own sequence number R, and ACK = 1 acknowledging A's SYN with ACK number S + 1 (the SYN consumes one sequence number).More Data Communication and Computer Networks questions
- Two computers A and B are configured as follows: A has IP address 203.197.2.53 and subnet mask 255.255.128.0; B has IP address 203.197.75.2…
- Consider the following statements: (A) In IPv4 addressing, a block of addresses can be defined as x.y.z.t/n, in which x.y.z.t defines one o…
- Hash functions are used to produce message digests which are then encrypted with a private key to get:
- A multiplexer combines four 100 Kbps channels using a time slot of 2 bits. What is the bit rate?
- Which of the following is NOT a field in the TCP header?
- In bit stuffing, each frame begins and ends with which bit pattern (in hexadecimal)?