comp.lang.ada
 help / color / mirror / Atom feed
From: "Riccardo" <kk@kk.com>
Subject: More details on:--- ADA vs JAVA sockets---
Date: Thu, 8 Jan 2004 09:32:25 +0100
Date: 2004-01-08T09:32:25+01:00	[thread overview]
Message-ID: <btj4ha$pii$1@e3k.asi.ansaldo.it> (raw)
In-Reply-To: btggi3$evu$1@e3k.asi.ansaldo.it

OK,
The possibility of loss due to UDP (I believe) is not the case (moreover we
had many other applications made only in C (C++) and ADA working correctely
for the same purpose..):

        --    the connection is exactely point to point and so (!?!?!?) no
packages should be lost                             in different directions.


The idea that I had about, is that maybe the OS queue for UDP is too small
for the quantities of data we are sending and receiving.
It is possible to set it by g-sockets or in another way????

The fact that the problems come always at the same point of the execution
(once when ADA program sends and once when JAVA program does it) should
suggest something different!??!?!?!?!

One try was to make an ADA to ADA  and JAVA to JAVA communication only, and
the programs seems, in this case, to work fine.

g-socket is really full of bug!? What Sould I use instead?

Thanks to everybody,

Riccardo




"Riccardo" <kk@kk.com> ha scritto nel messaggio
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-08  8:32 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
2004-01-07 22:23 ` Frode Tennebø
2004-01-08  7:09   ` David Marceau
2004-01-08  8:32 ` Riccardo [this message]
2004-01-08 20:16   ` More details on:--- ADA vs JAVA sockets--- 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