TCP Control Flags
- URG (Urgent) - a value of 1 here indicates that the segment is considered urgent and that the urgent pointer field has more data about this
- ACK (acknowledged) - a value of 1 means that the acknowledgement number field should be examined
- PSH (push) - transmitting device wants the receiving device to push currently-buffered data to the application on the receiving end as soon as possible
- Buffer - computing technique where a certain amount of data is held somewhere before being sent somewhere else
- RST (reset) - one of the sides in a TCP connection has not been able to properly recover from a series of missing or malformed segments
- SYN (synchronize) - used when first establishing a TCP connection and makes sure that the receiving end knows to examine the sequence number field
- FIN (finish) - when this flag is set to one, it means the transmitting computer does not have any more data to send and the connection can be closed
Three-Way Handshake
- computer A sends TCP segment to computer B with a SYN flag sent
- computer B then responds with a TCP segment where both SYN/ACK flags are set
- computer A responds again with just ACK flag set
