In this project TCP and UDP protocols are simulated and their performance is compared [1].
This comparison is mainly based on their congestion control and queue management mechanisms. TCP is a transport layer protocol used by applications that require guaranteed delivery.
It is a connection oriented byte stream protocol. UDP is the connectionless transport layer protocol. The User Datagram
Protocol offers only a minimal transport service nonguaranteed datagram. An application program running over UDP must deal directly with end-to-end communication problems that a connection-oriented protocol would handle.
TCP is more reliable since it manages message acknowledgment and orders retransmissions in case of lost packets.
UDP is a lightweight transport layer designed at top of IP. UDP uses a simple transmission model without implicit hand-shaking dialogues.
TCP reads data as a byte stream and message is transmitted