From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: UDP networking with Ada
Date: Fri, 8 Mar 2013 13:12:03 +0100
Date: 2013-03-08T13:12:03+01:00 [thread overview]
Message-ID: <1lrwhejdn8zy1.rn2edujfic0u$.dlg@40tude.net> (raw)
In-Reply-To: lywqtim7oc.fsf@pushface.org
On Fri, 08 Mar 2013 11:50:59 +0000, Simon Wright wrote:
> "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:
>
>> If you want streams crossing packet borders you must create a stream
>> object of your own on top of the packets, and after you ordered
>> packets (UDP does not guarantee that send and receive orders are same)
>> and resent missing ones (UDP does not guarantee delivery).
>
> And consider whether you might not as well have used TCP in the first
> place!
Yes. UDP is wrong choice, almost always. For multicast purposes there exist
stream-oriented protocols which supersede UDP, e.g. PGM. So, except for
communication to legacy devices and LAN broadcasts UDP should never be
used.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2013-03-08 12:12 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-08 0:50 UDP networking with Ada Peter C. Chapin
2013-03-08 3:46 ` Randy Brukardt
2013-03-08 18:28 ` Tero Koskinen
2013-03-08 6:47 ` anon
2013-03-08 7:50 ` Simon Wright
2013-03-08 12:14 ` Peter C. Chapin
2013-03-08 8:37 ` Dmitry A. Kazakov
2013-03-08 11:50 ` Simon Wright
2013-03-08 12:12 ` Dmitry A. Kazakov [this message]
2013-03-08 12:17 ` Peter C. Chapin
2013-03-08 15:39 ` Dmitry A. Kazakov
2013-03-08 8:58 ` Jacob Sparre Andersen
2013-03-08 11:58 ` Stephen Leake
2013-03-16 22:27 ` Kevin K
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox