Study this topic

Transport Layer: UDP and TCP Basics

IP delivers datagrams between hosts, unreliably. The transport layer turns this into communication between processes, identified by 16-bit port numbers, and optionally adds reliability.

Short notes11 min read

TCP Flow Control

A TCP receiver places arriving bytes in a receive buffer, from which the application reads them when it chooses. If the sender sends faster than the application reads, the buffer fills and further bytes would be lost.

Short notes8 min read