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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9ae3749ddf1e6022 X-Google-Attributes: gid103376,public From: Mike Young Subject: Re: Endian and Ada Date: 1996/04/09 Message-ID: <316B1DC8.4B1F@mcs.com>#1/1 X-Deja-AN: 146676724 references: <4kamb9$om2@flute.aix.calpoly.edu> <1996Apr9.160008.27942@nosc.mil> content-type: text/plain; charset=us-ascii organization: Fen Software, Inc. mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 2.01Gold (Win95; I) Date: 1996-04-09T00:00:00+00:00 List-Id: Kelly Grant wrote: > > the Win32 environment (winsock specifically) we have methods like NtoHS (Network > to Host System) that will know whether to swap bytes or not). I think the > network byte ordering is big endian, but I don't know for certain. ======= Not just winsock, but all Berkeley sockets, meaning almost all unices. (You might also want to note that some languages are case sensitive. That's ntohs, thank you. :) Network byte order is commonly accepted (if not actually specified somewhere) to mean big-endian.