comp.lang.ada
 help / color / mirror / Atom feed
From: Kevin K <kevink4@gmail.com>
Subject: Re: UDP networking with Ada
Date: Sat, 16 Mar 2013 15:27:07 -0700 (PDT)
Date: 2013-03-16T15:27:07-07:00	[thread overview]
Message-ID: <8ef1b433-1f13-4e72-a205-f6f0bab1df48@googlegroups.com> (raw)
In-Reply-To: <SL-dnUB_sIRxqKTM4p2dnAA@giganews.com>

You have to consider what you are trying to do in determining whether to use UDP or TCP.  It isn't the case that almost never do you want to use UDP.

For example, if you are wanting to interoperate with a process that is defined UDP, you have to use that.

For slow networks with measurable packet loss, TCP can be a poor choice since a missing packet forces the retransmission of all data after a missing packet. 

TCP isn't a good mechanism to send to multiple recipients at the same time on slow nets.  UDP can be broadcast in local nets while TCP won't handle this.



      parent reply	other threads:[~2013-03-16 22:27 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
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 [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox