comp.lang.ada
 help / color / mirror / Atom feed
From: "Steve" <nospam_steved94@comcast.net>
Subject: Re: ADA vs JAVA sockets
Date: Wed, 07 Jan 2004 15:43:11 GMT
Date: 2004-01-07T15:43:11+00:00	[thread overview]
Message-ID: <jOVKb.150615$VB2.581253@attbi_s51> (raw)
In-Reply-To: btggi3$evu$1@e3k.asi.ansaldo.it

RICCARDO,
  I think you will find that this is neither an Ada nor a Java problem, but
rather a characteristic of UDP.  UDP does not guarantee delivery.  If
dropping packets is a significant issue you either need to add your own
layer of logic to retransmit packets as needed, or use TCP or some other
protocol that guarantees delivery.

Steve
(The Duck)

"Riccardo" <kk@kk.com> wrote in message
news:btggi3$evu$1@e3k.asi.ansaldo.it...
> Hi!
> I'm trying to put together two applications written respectively in ADA
and
> in JAVA.
>
> Each one has its own socket mechanism (in ADA I use G N A T . S O C K E T
S
> ver. 1.27 and in JAVA the standard sockets: JAVA.net).
>
> Using UDP protocol on a direct connection (no other machines in between)
> when I have big quantities of data it appends that some data get lost.
>
> Introducing some delays (in both directions: either receiving in ADA or
> JAVA) the problem seems to be solved.
>
>
> Is there someone that found the same difficulty?
>
> Can I say thet JAVA brings such kind of problems?
> (the same program in ADA works fine with an application written in C++)
>
> Thanks!
>
> Riccardo
>
>





  parent reply	other threads:[~2004-01-07 15:43 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-07  8:39 ADA vs JAVA sockets Riccardo
2004-01-07 13:31 ` Duncan Sands
2004-01-07 16:28   ` Jano
2004-01-07 19:44   ` Pascal Obry
2004-01-07 21:11     ` Duncan Sands
2004-01-08 14:31       ` Gnat 3.15p bugs (was: ADA vs JAVA sockets) Jano
2004-01-08 16:24         ` Duncan Sands
2004-01-08 19:14           ` Jano
2004-01-08 20:16           ` tmoran
2004-01-08 20:58             ` Duncan Sands
2004-01-07 14:24 ` ADA vs JAVA sockets Stephen Leake
2004-01-07 15:43 ` Steve [this message]
2004-01-07 22:23 ` Frode Tennebø
2004-01-08  7:09   ` David Marceau
2004-01-08  8:32 ` More details on:--- ADA vs JAVA sockets--- Riccardo
2004-01-08 20:16   ` tmoran
2004-01-09  7:27     ` Riccardo
2004-01-09  8:45       ` Ole-Hjalmar Kristensen
2004-01-09 10:27         ` thanks Riccardo
2004-01-09 13:58           ` thanks Robert Spooner
replies disabled

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