Exploring TCP
TCP stands for transmission control protocol. TCP is one of the most widely used transfer protocols on the internet. TCP is essentially a protocol that transports bytes over a socket from one program or computer to another using an internet protocol (IP). TCP is used for the world wide web, email, remote administration, and file transfer. The transport layer security/secure sockets layer (TLS/SSL) protocols are built on top of TCP. This means that HTTP and HTTPS are built on top of TCP.
TCP is a connection-oriented protocol. This is where a connection between the client and server is established before any data is transferred. This is achieved by a three-way handshake:
- SYN: Initially, the client sends a SYN to the server. The SYN is a message with a random number to ensure that the same client is communicating with the server.
- SYN-ACK: The server then responds to the client with the initial sequence number and an additional random number known as the ACK...