TCP/IP Header Flags

Viewed 88

In TCP Connection, flags are used to indicate a particular state of connection or to provide some additional useful information like troubleshooting purpose or to handle a control of a particular connection.

There are six TCP flags which we can use in the TCP Header

But my question is can we set Multiple flags in TCP Headers at the same time.

1 Answers

We can and do! A normal TCP connection starts with:

A: SYN
B: SYN ACK
A: ACK

The message by B has both the SYN and the ACK flag set. Each flag takes a single bit so its easy to set multiple

Related