CrazyEngineers
  • UDP-message oriented

    Sachin Jain

    Member

    Updated: Oct 25, 2024
    Views: 1.4K
    Guys,
    I have studied that UDP is message oriented and It reserves the message boundary.
    but i failed to grasp its meaning.
    Can some one please explain me this ?
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • Yamini L

    MemberDec 16, 2010

    Basically, all processes using user datagram protocol sends and receive messages in the form of segments. These segments are the basic unit of transmission.

    Then they are further encapsulated into a ip datagram and transferred further. As each message is sent in the form of segments, we can say that the data boundaries are preserved. The size of the message is also limited. You perform only to sendto or recvfrom here. Whenever the size of the message is greater than buffer size, that extra part will be lost making it unreliable unlike tcp.
    Are you sure? This action cannot be undone.
    Cancel
  • Sachin Jain

    MemberDec 17, 2010

    Hey miniy,
    But what happens if an intermediate router has to fragment a UDP segment due to less MTU of the network over which router has to send the IP packet ?
    Then message boundary may not be preserved ?
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register