COMPUTER NETWORKING

TRANSPORT LAYER

INTRODUCTION

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which flag in the TCP header are used in a TCP three-way handshake to establish connectivity between two network devices?
A
ACK
B
FIN
C
RST
D
URG
Explanation: 

Detailed explanation-1: -SYN-The synchronization flag is used to establish a three-way handshake between two hosts. Only the first packet from both the sender and receiver should have this flag set.

Detailed explanation-2: -The SYN flag synchronizes sequence numbers to initiate a TCP connection. The FIN flag indicates the end of data transmission to finish a TCP connection.

Detailed explanation-3: -A TCP connection is initiated by the client and goes through a three-way handshake as shown below: Here is a typical sequence, with the TCP flag SYN meaning “synchronize” and ACK indicating “acknowledgment”: The client sends a TCP packet to the server with the SYN flag set.

Detailed explanation-4: -The most commonly used flags are SYN, URG, ACK, PSH, FIN, and RST. SYN bit is used in the initial three-way handshake where both parties generate the initial sequence numbers. URG says that the data should be treated with priority over other data. ACK is used to confirm that the data packets have been received.

There is 1 question to complete.