The Transmission Control Protocol (TCP), is the main Transport Layer protocol in the TCP/IP stack. It provides session management services, such as ensuring lost packets are resent and buffering arriving packets to make sure that they are in the correct sequence. The User Datagram Protocol (UDP) does none of that – it can be understood as “not TCP.” TCP is called a connection-oriented protocol and UDP is known as a connectionless protocol.