The Transmission Control Protocol (TCP) is a connection-oriented network protocol that operates in the network layer of the OSI model. It runs on top of the Internet Protocol (IP) and uses port numbers to identify the connection endpoint (also known as "socket") on a host.