On Wednesday, 3 May 2017 at 07:35:56 UTC, Stefan Koch wrote:
For the typical usecase a lossless orderd connection can be
assumed.
- udp is not connection oriented, i.e. there is no connection
- udp is not lossless and pretending it is means setting yourself
up for a headache down the road
- udp datagrams are not guaranteed to arrive in the order they
were sent and pretending they do is also setting yourself up for
a headache down the road
What you've described so far is a classic, textbook use case of
tcp.