What is UDP?
Introduction: • It establishes connectionless service. • It is defined in RFC768. • It is considered as unreliable due to absence of SYN/ACK flags in contrast to TCP/IP. • UDP header is stated under, it incorporates protocol subject with value "0x11" in IP header. UDP header includes source port, destination port, duration of datagram and checksum as shown. • Like TCP, UDP additionally uses port addresses for shipping to suitable packages. The port addresses are particular to applications. Like TCP, UDP additionally does multiplexing and demultiplexing methods as shown at transmit and obtain ends respectively. • UDP is unreliable un-ordered packet protocol.
UDP is placed among the software layer and the IP layer, and serve as the intermediary between the application packages and the network operations. The determine-1 depicts assessment of UDP/IP stack with OSI stack.
The discern-2 and three mentions fields in UDP header and IP header. UDP packets, called user datagrams, have a set-size header of 8 bytes.
The figure-four mentions UDP multiplexing and demultiplexing approaches. Unique port addresses help in demuplexing process at the destination system.
Benefits or advantages of UDP
Following are the benefits or blessings of UDP: ➨It uses small packet size with small header (eight bytes). This fewer bytes in the overhead makes UDP protocol need much less time in processing the packet and need less memory. ➨It does now not require connection to be set up and maintained. ➨Also absence of acknowledgement field in UDP makes it quicker as it need not ought to wait on ACK or need not need to preserve information in reminiscence till they are ACKed. ➨It uses checksum with all of the packets for blunders detection. ➨It may be utilized in occasions wherein a single packet of records wishes to be exchanged between the hosts.
Drawbacks or dangers of UDP
Following are the drawbacks or dangers of UDP: ➨It is connectionless and unreliable transport protocol. There is no windowing and no characteristic to ensure records is acquired inside the equal order as it changed into transmitted. ➨It does no longer use any errors manipulate. Hence if UDP detects any errors in the received packet, it silently drops it. ➨There is not any congestion control. Hence large range of customers transmitting masses of information through UDP can purpose congestion and no one can do anything approximately it. ➨There isn't any glide manipulate and no acknowledgement for obtained statistics. ➨Only application layer deals with errors healing. Hence packages can genuinely flip to the consumer to ship the message again. ➨Routers may be careless with UDP. They do no longer retransmit a UDP datagram after collision and will often discard UDP packets earlier than TCP packets.
Advantages and Disadvantages of different wireless technologies
What is Difference between
distinction among OFDM and OFDMA Difference between SC-FDMA and OFDM Difference between SISO and MIMO Difference between TDD and FDD FDMA vs TDMA vs CDMA FDM vs TDM CDMA vs GSM read more :- wikitechblog