From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,83a56cb8370ebd04 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-07 07:43:12 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!elnk-pas-nf1!elnk-nf2-pas!newsfeed.earthlink.net!attbi_feed3!attbi.com!attbi_s51.POSTED!not-for-mail From: "Steve" Newsgroups: comp.lang.ada References: Subject: Re: ADA vs JAVA sockets X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: NNTP-Posting-Host: 12.211.58.135 X-Complaints-To: abuse@comcast.net X-Trace: attbi_s51 1073490191 12.211.58.135 (Wed, 07 Jan 2004 15:43:11 GMT) NNTP-Posting-Date: Wed, 07 Jan 2004 15:43:11 GMT Organization: Comcast Online Date: Wed, 07 Jan 2004 15:43:11 GMT Xref: archiver1.google.com comp.lang.ada:4176 Date: 2004-01-07T15:43:11+00:00 List-Id: 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" 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 > >