Home / cs-notes / Network / Protocol / TCP / FLAGS
- SYN
- Synchronization
- Sequence Number
- Synchronization
- ACK
- Acknowledge
- SN + 1
- Acknowledge
- FIN
- Finish
- terminate connection gracefully
- only one side of the conversation is stopped
- no data loss
- receiver of FIN keeps communicating till it wants to
- Finish
- RST
- Reset
- condition
- sender feels something is wrong with the TCP connection
- eg. receive unexpected
FLAG
or sequence number
- eg. receive unexpected
- the conversation should not exist
- sender feels something is wrong with the TCP connection
- tell the other side to stop communication
- the whole conversation is stopped
- data is discarded
- receiver has to stop communication
- condition
- Reset
- PSH
- Push
- All data in buffer to be pushed to NL(sender) / AL (receiver)
- Data is delivered in sequence
- Push
- URG
- Urgent
- Only the urgent data to be given to AL immediately
- Data is delivered out of sequence
- Urgent