COMPUTER NETWORKING

TRANSPORT LAYER

INTRODUCTION

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which Flag bit in TCP header must be set when a TCP entity wants to terminate a connection?
A
RST
B
ACK
C
FIN
D
SYN
Explanation: 

Detailed explanation-1: -A TCP connection is terminated using FIN segment where FIN bit is set to 1. There is a well established TCP connection between the client and server. Client wants to terminate the connection.

Detailed explanation-2: -TCP uses a three-way handshake to establish a reliable connection. The connection is full duplex, and both sides synchronize (SYN) and acknowledge (ACK) each other. The exchange of these four flags is performed in three steps: SYN, SYN-ACK, ACK, as shown in Figure 5.8.

There is 1 question to complete.