![]() UDP does not require any virtual path for data transmission.UDP provides us a faster service of data transmission as there is no prior connection establishment before transmitting the data.The port numbers are defined between 0 - 1023.The UDP protocol utilizes different port numbers for transmitting data to the correct destination.UDP does not guarantee the order of the datagram.Ordered delivery of data is not guaranteed. Since it is connectionless, so packets are sent from different paths between sender and receiver. ![]() UDP protocol is a connectionless protocol, so it does not establish any virtual path before transmitting the data.UDP is considered as an unreliable and connection-less protocol.User Datagram Protocol is a transport layer protocol.Refer to the image below to see the header of the UDP packet consisting of four fields.įeatures of UDP protocol Transport layer protocol In UDP, there is no acknowledgment generated for the packet received, so the sender does not wait for acknowledgment of the sent packet.UDP packets are sent to their destination after encapsulating it in an IP packet.Checksum is a 2 bytes optional field for carrying checksum.Packet length is also 2 bytes field for defining the total length of the user datagram(header length data length).Destination port number is 2 bytes field that defines the port number of the destination.Source port number is 2 bytes field that defines the port number of the sender.UDP packet, called user datagram, consists of:.UDP works by collecting data in a UDP packet, and in the packet, it adds its own header information.Process can use UDP protocol if they don’t care much about the reliability of transmission and wants to send a small message.UDP protocol will work just like an alternative of TCP (Transmission Control Protocol).User Datagram has 8 bytes fixed-size header. ![]()
0 Comments
Leave a Reply. |