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-Thread: 103376,4ef4bf3098ab117 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!HSNX.atgi.net!cyclone-sf.pbi.net!151.164.30.34!cyclone.swbell.net!bos-service1.raytheon.com!dfw-service2.ext.ray.com.POSTED!53ab2750!not-for-mail From: Mark H Johnson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada compiler differences References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Tue, 19 Oct 2004 15:32:06 -0500 NNTP-Posting-Host: 192.27.48.106 X-Complaints-To: news@ext.ray.com X-Trace: dfw-service2.ext.ray.com 1098217927 192.27.48.106 (Tue, 19 Oct 2004 15:32:07 CDT) NNTP-Posting-Date: Tue, 19 Oct 2004 15:32:07 CDT Organization: Raytheon Company Xref: g2news1.google.com comp.lang.ada:5472 Date: 2004-10-19T15:32:06-05:00 List-Id: Larry Kilgallen wrote: > In article , Mark H Johnson writes: > > [snip big endian TCP/IP example] >>That particular issue has nothing to do with Ada; you have the same >>problem with C or other languages. > > > In particular, it has to do with the fact that TCP/IP was devised on > an ad-hoc basis rather than using an underlying marshalling technique > such as promoted by ASN.1. I am not quite sure how this comment is relevant to the OP's question on writing portable software. Are you suggesting to the OP that they use something like an ASN.1 library instead of Posix functions? If so, how is that "better" for the problem I described? --Mark