Basically ,TCP and UDP both are transport layer protocols and also called Internet protocols.
The simple relationship between network and transport layer, the network layer shows us the way and the transport layer is responsible
for sending the data.
The application receive the message on application layer from the sender(you) and transport layer converts that message into smaller chunks, which again transmitted by the network layer.
I am a Post master (Transport Layer),I have picked your letters from your houses (application layer), I will pick your letter and deliver them to the post master(network protocol) and post master will run a thar and deliver your letters to another post master(Developer), the
developer will send them to your brother's house(Application layer).
In case of Ann and Bill there is no data loss, so they are reliable and trustworthy.
Susan and Harways dog eats the letter ,so in case of udp ,the data will be lost.
This is how the UDP works.

Top comments (0)