comp.lang.ada
 help / color / mirror / Atom feed
From: "Peter C. Chapin" <PChapin@vtc.vsc.edu>
Subject: Re: UDP networking with Ada
Date: Fri, 08 Mar 2013 07:17:32 -0500
Date: 2013-03-08T07:17:32-05:00	[thread overview]
Message-ID: <58CdnbOaDPJBS6TM4p2dnAA@giganews.com> (raw)
In-Reply-To: <1lrwhejdn8zy1.rn2edujfic0u$.dlg@40tude.net>

On 03/08/2013 07:12 AM, Dmitry A. Kazakov wrote:

 > 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.

UDP is a good choice for simple request/response protocols where both 
the request and the response are small enough to fit into a single 
datagram. For example: DNS. Also in this situation the overhead of TCP 
might be considered undesirable.

Peter



  reply	other threads:[~2013-03-08 12:17 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
2013-03-08 12:17       ` Peter C. Chapin [this message]
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