UDP

Answered Question
Nov 23rd, 2007

Hi there! I hope someone is kind enough to help me with the following query:


I've read in a book that User Datagram Protocol does not segment the data. Is this true? I find this odd because if that's the case, does UDP send all data in one big chunk? Furthermore in a previous edition of this same book by the same author, he mentions that UDP does indeed segment data. I will be most grateful if someone can clear up this confusion.


Thank you in advance.


Best wishes,


Ashraf.

Correct Answer by williamsdo@si.edu about 9 years 3 months ago

Hi, The UDP protocol does not garantee delivery of data, with that said UDP does provide check sum. Yes it does segment data if I remember correctly the MTU is 1500bytes. UDP receives data from the application process attatches destination and source port numbers fields, add additional needed fields and passed the SEGMENT to the network layler. Have a look at the link below.


http://www-net.cs.umass.edu/kurose/transport/UDP.html


http://www.networksorcery.com/enp/protocol/udp.htm

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
williamsdo@si.edu Sun, 11/25/2007 - 18:36

Hi, The UDP protocol does not garantee delivery of data, with that said UDP does provide check sum. Yes it does segment data if I remember correctly the MTU is 1500bytes. UDP receives data from the application process attatches destination and source port numbers fields, add additional needed fields and passed the SEGMENT to the network layler. Have a look at the link below.


http://www-net.cs.umass.edu/kurose/transport/UDP.html


http://www.networksorcery.com/enp/protocol/udp.htm

bvsnarayana03 Mon, 11/26/2007 - 05:16

Whether TCP or UDP, they have to be encapsulated & send as IP datagram. IP has the ability to fragment packets based on the mtu configured.



voiper_99 Mon, 11/26/2007 - 20:28

Unless of course the DF bit is set. However, if the DF bit is set and the datagram is too large to traverse a part of the network an ICMP message will be sent back to the sending station informing that "fragmentation is needed but DF is set".

Actions

This Discussion