The Transport Layer
In the Transport layer, the actual transmission of data takes place from one connected device to another in a network. The protocols used in the working of the Transport layer are – TCP and User Datagram Protocol (UDP). The descriptions of these protocols are as follows:
TCP: Ensures the transmission of data packets between the hosts. Moreover, TCP is a connection-oriented protocol that is used for reliability issues, such as dividing data sequentially, discarding duplicate data, and resending discarded/lost data packets.
UDP: Refers to a connection less and unreliable protocol that is used to streamline data. UDP does not ensure the delivery of data packets to the recipient. UDP provides faster transmission speed as compared to TCP.