0

I understand that UDP does not guarantee order of packets, but that is at Transport layer.
Does the Linux kernel guarantee ordered UDP packets to user space programs ?
I read that services like DNS and DHCP use UDP and they have daemons running in user
space for that.
If Linux does not provide ordered UDP packets to user space then how do services like
DNS and DHCP work reliably ?

Thanks

golimoli
  • 143
  • 9
  • 1
    How could it? There's nothing in a UDP packet that defines the order. – Barmar Aug 05 '22 at 19:19
  • 1
    DNS and DHCP only involve one request and response. There's nothing to order. – Barmar Aug 05 '22 at 19:20
  • UDP applications that need packet order do it in the application layer. Take a look at TFTP for example, it has sequence numbers in the packets. – Barmar Aug 05 '22 at 19:26

0 Answers0