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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:a5d:950d:: with SMTP id d13mr2882785iom.0.1549655086609; Fri, 08 Feb 2019 11:44:46 -0800 (PST) X-Received: by 2002:a9d:2c22:: with SMTP id f31mr300730otb.4.1549655086295; Fri, 08 Feb 2019 11:44:46 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.166.216.MISMATCH!q69no320154itb.0!news-out.google.com!v141ni276ita.0!nntp.google.com!q69no320150itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 8 Feb 2019 11:44:46 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=191.17.174.180; posting-account=TRgI1QoAAABSsYi-ox3Pi6N-JEKKU0cu NNTP-Posting-Host: 191.17.174.180 References: <47f17695-f9a5-4024-b2da-3f13209dc4fd@googlegroups.com> <818f5ff4-f18d-42b8-950d-9b597c012aa4@googlegroups.com> <62406dfb-54c9-4db3-b461-0ad72d4a782c@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Ada x Datagram Sockets From: "Rego, P." Injection-Date: Fri, 08 Feb 2019 19:44:46 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:55467 Date: 2019-02-08T11:44:46-08:00 List-Id: > If you want to use streams. Put a memory-mapped stream on top of the > Stream_Element_Array. Write packet whole. Flush the buffer contents to > the socket/file. (I don't want to use streams) But in this case I am receiving a data with at principle unknown size, and I don't have control on the write side.