UDP Protocol or User Datagram Protocol in computer networking in bangla | Transport layer protocols.



UDP Protocol or User Datagram Protocol in computer networking in bangla | Transport layer protocols.

UDP Protocol or User Datagram Protocol in computer networking in bangla | Transport layer protocols.

TCP vs UDP : https://youtu.be/tG7Dpqh5K8g

UDP header format: https://youtu.be/nsiUN3ZAU2Q

TCP protocol: https://youtu.be/0lDm3dJ7j5o

UDP protocol: https://youtu.be/2EjWAZ5id3Y

TCP connection termination: https://youtu.be/zM-bv0xnbLQ

TCP 3-way handshake connection: https://youtu.be/dDeBXGaIcGg

TCP header format: https://youtu.be/1EzJxOLXiRg

Computer Network Playlist : https://youtube.com/playlist?list=PLW7fU_8SZVruBsFfULu9QRDsFfFSg77Cu

Wireless Ad Hoc Network Playlist:https://youtube.com/playlist?list=PLW7fU_8SZVrtgOkfjZFLh_46QvOR6Di5y

Machine Learning full Playlist: https://youtube.com/playlist?list=PLW7fU_8SZVrv3ZsJ-XsPA0RrriR1mlQlA

Management Information System Playlist: https://youtube.com/playlist?list=PLW7fU_8SZVrs0h1gOsZRokHzlYmcShvjp

Algorithm Playlist: https://youtube.com/playlist?list=PLW7fU_8SZVrv12r_JAXHNOGF1av6eqPbS

Data Structure Playlist: https://youtube.com/playlist?list=PLW7fU_8SZVrtXC0wsG7_X4onIDuKvapXH

User Datagram Protocol (UDP)

User Datagram Protocol (UDP) is a Transport Layer protocol. UDP is a part of the Internet Protocol suite, referred to as UDP/IP suite. Unlike TCP, it is an unreliable and connectionless protocol. So, there is no need to establish a connection prior to data transfer.

Though Transmission Control Protocol (TCP) is the dominant transport layer protocol used with most of the Internet services; provides assured delivery, reliability, and much more but all these services cost us additional overhead and latency. Here, UDP comes into the picture. For real-time services like computer gaming, voice or video communication, live conferences; we need UDP. Since high performance is needed, UDP permits packets to be dropped instead of processing delayed packets. There is no error checking in UDP, so it also saves bandwidth.
User Datagram Protocol (UDP) is more efficient in terms of both latency and bandwidth.

UDP Header –

UDP header is an 8-bytes fixed and simple header, while for TCP it may vary from 20 bytes to 60 bytes. The first 8 Bytes contains all necessary header information and the remaining part consist of data. UDP port number fields are each 16 bits long, therefore the range for port numbers is defined from 0 to 65535; port number 0 is reserved. Port numbers help to distinguish different user requests or processes.

Source Port: Source Port is a 2 Byte long field used to identify the port number of the source.
Destination Port: It is a 2 Byte long field, used to identify the port of the destined packet.
Length: Length is the length of UDP including the header and the data. It is a 16-bits field.
Checksum: Checksum is 2 Bytes long field. It is the 16-bit one’s complement of the one’s complement sum of the UDP header, the pseudo-header of information from the IP header, and the data, padded with zero octets at the end (if necessary) to make a multiple of two octets.

Notes – Unlike TCP, the Checksum calculation is not mandatory in UDP. No Error control or flow control is provided by UDP. Hence UDP depends on IP and ICMP for error reporting.

Applications of UDP:

Used for simple request-response communication when the size of data is less and hence there is lesser concern about flow and error control.
It is a suitable protocol for multicasting as UDP supports packet switching.
UDP is used for some routing update protocols like RIP(Routing Information Protocol).
Normally used for real-time applications which can not tolerate uneven delays between sections of a received message.
Following implementations uses UDP as a transport layer protocol:
NTP (Network Time Protocol)
DNS (Domain Name Service)
BOOTP, DHCP.
NNP (Network News Protocol)
Quote of the day protocol
TFTP, RTSP, RIP.
The application layer can do some of the tasks through UDP-
Trace Route
Record Route
Timestamp
UDP takes a datagram from Network Layer, attaches its header, and sends it to the user. So, it works fast.
Actually, UDP is a null protocol if you remove the checksum field.
Reduce the requirement of computer resources.
When using the Multicast or Broadcast to transfer.
The transmission of Real-time packets, mainly in multimedia applications. .

Comments are closed.