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.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_FROM_MSSP autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ac2397ce800de518 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-09-04 14:35:20 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!sn-xit-04!supernews.com!feed.textport.net!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: <20010904115244.24236db3.tonygair@blueyonder.co.uk> <1v6l7.3307$4z.6132@www.newsranger.com> Subject: Re: adasockets and adatypes Message-ID: X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Tue, 04 Sep 2001 17:35:06 EDT Organization: http://www.newsranger.com Date: Tue, 04 Sep 2001 21:35:06 GMT Xref: archiver1.google.com comp.lang.ada:12725 Date: 2001-09-04T21:35:06+00:00 List-Id: In article , David C. Hoos says... > >First of all, one doesn't redefine 'Output or 'Input -- just >'Read and 'Write. If you don't specify those attributes, then how do you specify how many bytes are used to specify the length of a string written out using 'Output (and the endian-ness of that value). A portable solution will need to do that. I can actually agree with most of the rest of the message. The problem is that it still doesn't change the fact that you *can't* do this portably in the general case. Sure, you can restrict your portability to certain types, compilers, or platform combos, and get it to work with a bit of elbow grease. But in the *general* case, you can't do it. --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html home email - mailto:dennison@telepath.com