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 Path: g2news2.google.com!postnews.google.com!b1g2000vbc.googlegroups.com!not-for-mail From: sjw Newsgroups: comp.lang.ada Subject: Re: Howto read line from a stream Date: Sun, 31 May 2009 08:38:57 -0700 (PDT) Organization: http://groups.google.com Message-ID: <03bab021-0df6-445b-b2f7-7a3ab770448c@b1g2000vbc.googlegroups.com> References: <83317a97-dae5-4c84-a1ac-88a87833cf3f@q14g2000vbn.googlegroups.com> NNTP-Posting-Host: 82.20.239.89 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1243784337 19996 127.0.0.1 (31 May 2009 15:38:57 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 31 May 2009 15:38:57 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: b1g2000vbc.googlegroups.com; posting-host=82.20.239.89; posting-account=_RXWmAoAAADQS3ojtLFDmTNJCT0N2R4U User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_7; en-us) AppleWebKit/525.28.3 (KHTML, like Gecko) Version/3.2.3 Safari/525.28.3,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:6138 Date: 2009-05-31T08:38:57-07:00 List-Id: On May 31, 12:34=A0pm, "Dmitry A. Kazakov" wrote: > One potential problem with using Streams as an interface to sockets is th= at > there is nothing in the Ada standard that mandates Stream_Element to be a= n > octet of bits, as socket I/O demands. Can't imagine what reason an implementer would have to make a stream element anything other than an octet! (for any general-purpose processor you'd actually be likely to come across).