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 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-08 23:33:00 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!peernews3.colt.net!news.it.colt.net!itgate.net!news-out.tin.it!news-in.tin.it!news.finmeccanica.it!not-for-mail From: "Riccardo" Newsgroups: comp.lang.ada Subject: Re: More details on:--- ADA vs JAVA sockets--- Date: Fri, 9 Jan 2004 08:27:33 +0100 Organization: studenti Message-ID: References: NNTP-Posting-Host: 172.26.101.146 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:4250 Date: 2004-01-09T08:27:33+01:00 List-Id: ha scritto nel messaggio news:qUiLb.782498$Tr4.2238587@attbi_s03... > >The possibility of loss due to UDP (I believe) is not the case ... > An easy test would be to insert delays to artificially slow down the > transmitting side. Yes, I tried it and depending on what I do in the receiving phase, some times I miss messages: -- when I try to print them directly on the screen -- when I redirect the output on a file (both operations time consuming that really delay the receiver operations) Also in those cases, introducing delays, the problem seems to be solved.. May I set (as in UNIX SYSTEM V) , although I use SUN SOLARIS 5.8-SPARK, the OS message queue lenght and the message size (in bytes) for the socket communications? The introduction of a sincronization mechanism made by a buffer queue doesn't help in any way.