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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable 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 06:26:28 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!usenet-fr.net!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: ADA vs JAVA sockets Date: 07 Jan 2004 09:24:37 -0500 Organization: Cuivre, Argent, Or Message-ID: References: NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: melchior.cuivre.fr.eu.org 1073485486 14334 80.67.180.195 (7 Jan 2004 14:24:46 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Wed, 7 Jan 2004 14:24:46 +0000 (UTC) To: comp.lang.ada@ada-france.org Return-Path: In-Reply-To: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.3 Precedence: list List-Id: Gateway to the comp.lang.ada Usenet newsgroup List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:4173 Date: 2004-01-07T09:24:37-05:00 "Riccardo" writes: > 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. Ah. So the two applications talk to each other. > Can I say thet JAVA brings such kind of problems? > (the same program in ADA works fine with an application written in C++) That would certainly indicate that Java.net is at fault! What operating systems are you on? Try having Ada talk to Ada, and Java to Java; that will help locate the bug. -- -- Stephe