Acn Udp
Acn Udp
ON
ADVANCED COMPUTER NETWORK
2023-2024
Submitted By
SHANTANU POTE
Under the Guidance of
Mr. N. J. Ambekar
Department of Computer Technology
Mr. N. J. Ambekar
Guide
Department of Computer Technology
Mrs. P. S. Alur
Prof. M.B.Deokate
Head
Principal
Department of Computer Technology
Priyadarshini Polytechnic, Nagpur
Priyadarshini Polytechnic, Nagpur
We have great pleasure to express our most sincere regards and deep sense of
gratitude to our Guide Mr. N. J. AMBEKAR for his valuable guidance for completing this
project work.
We are very much thankful to our Mr. N. J. AMBEKAR and other staff member
of the Department of Computer Technology for their valuable suggestion and helping
attitude.
We are also intended to our Principal Prof.M.B.Deokate for encouraging us for time
to time. This acknowledgement would be incomplete without giving thanks to our friends
for their help through out course of this project work without which this dissertation could
not be success.
Name of Projectee:
Shantanu pote
User Datagram Protocol (UDP)
1. Source Port: Source Port is a 2 Byte long field used to identify the port
number of the source.
2. Destination Port: It is a 2 Byte long field, used to identify the port of the
destined packet.
3. Length: Length is the length of UDP including the header and the data.
It is a 16-bits field.
4. 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.
Features of UDP protocol
The following are the features of the UDP protocol:
• Lack of Congestion Control: UDP does not provide congestion control and it
does not create additional traffic in an error prone network.
• Lack of Error Control: UDP does not provide error control. So UDP provides
unreliable service.
without a full protocol stack, such as the DHCP and Trivial File
data transmissions.
• Queuing: UDP is simple and suitable for query based communications.
• Port: UDP uses that the concept of port, which allows to distinguish the
different applications running on a machine. Besides the datagram and its data,
a UDP message contains a source port number and destination port number.
UDP Services
• Process to Process Communication
• Connectionless Services
• Flow Control
• Error Control
• Queuing
• Congestion Control
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:
• UDP takes a datagram from Network Layer, attaches its header, and
sends it to the user. So, it works fast
Disadvantages of UDP:
1. No reliability: UDP does not guarantee delivery of packets or
order of delivery, which can lead to missing or duplicate data.
3. No flow control: UDP does not have flow control, which means
that it can overwhelm the receiver with packets that it cannot
handle.
• If the checksum agrees, then it must be true that the packet has
reached the intended destination host as well as the correct
protocol port within that host.
Difference Between UDP and TCP