TCP stands for Transmission Control Protocol. TCP is a main part of the TCP/IP protocol suite which is the networking protocol which is used on the internet. TCP supports the network at the transport layer. TCP provides a reliable connection oriented service. Connection oriented means both the client and server must open the connection before data is sent. TCP is defined by RFC 793 and 1122. TCP provides:
- End to end reliability.
- Data packet re-sequencing.
- Flow control.
TCP relies on the IP service at the network layer to deliver data to the host. Since IP is not reliable with regard to message quality or delivery, TCP must make provisions to be sure messages are delivered on time and correctly.
TCP specifies what port number is to be used both on the sending computer and the receiving computer. The port indicates the service or application program that will serve the remote request.
TCP provides a reliable connection which has three phases including:
- Connection establishment
- Data transfer
- Connection termination
- The document TCP/IP Connection describes the process of establishing a TCP connection which is also called the TCP three way handshake.
- The document TCP Connection Termination describes the process of terminating a TCP connection.
- TCP shows the message format of TCP