News for hackers. Stuff that matters.
Re:Never* Use Datagrams by throwaway7ahgb on Sunday June 23, 2024 @09:15AM (#40767256)
Correct on the reliable UDP.

I've seen a few implementations of a reliable UDP messaging stream (using multicast or broadcast). It uses a sequencer to ensure all clients receive the correct message and order.

It can be extremely fast and reliable.

Re:Never* Use Datagrams by taneq on Sunday June 23, 2024 @10:05AM (#40767555)
If it guarantees delivery and preserves order, what’s the difference vs. TCP?
Re:Never* Use Datagrams by colanderman on Sunday June 23, 2024 @10:21AM (#40767672)
Delimited messages vs. stream.
Re:Never* Use Datagrams by throwaway7ahgb on Monday June 24, 2024 @08:49AM (#40775381)
Much much faster, TCP is very slow and complicated (relatively). This can be sped up by not using the kernel using something talking directly to hardware.