UDP Packets not received other end what happens
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2016 02:59 AM - edited 03-05-2019 07:23 AM
What happens when UDP packets are not received other end ? Do I need to transmit again ? How reassembly happens in UDP ?
- Labels:
-
Other Routing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2016 06:19 AM
It depends on the application using UDP. Some applications will take the loss and continue to run as best they can, some will deal with retransmission.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2016 12:30 PM
Thanks Joseph for fast reply. I have one doubt.
PC A >>>>>>> UDP Packets Router X >>>>> Router Y >>>>> PC B
Let say I am sending DNS packets, then how PCB DNS knows if packets lost or not ? Does Application have mechanism to detect packet loss like TCP then I want to know which application ? How PC A knows to resend ?
Also In case of reassembly how UDP behaves differently then TCP ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2016 08:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2016 09:00 AM
Please help in replying this question friends
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2016 03:17 PM
Sorry, missed your earlier reply.
In answer to your question, whether an application detects packet loss or not, is totally up to the application. A network application can do its own error lost detection and recovery, but that's the purpose for TCP, so every application doesn't need to "reinvent the wheel".
UDP behaves differently from TCP, in that the UDP protocol does not provide any error loss detection, error recovery, sequencing, etc.
In your example with DNS, PC B would not know there was packet loss to it. PC A, assuming it's waiting on a response, if that times out, could assume either there was packet loss to PC B or packet loss in PC B's response. It can decide to try again. If there are multiple retry failures, then it might assume PC B, itself, may no longer be on-line.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2016 08:06 AM
Tx
