[HECnet] VCF-East on HECnet?

Rob Jarratt robert.jarratt at ntlworld.com
Thu Dec 13 13:32:21 PST 2012



-----Original Message-----
From: owner-hecnet at Update.UU.SE [mailto:owner-hecnet at Update.UU.SE]
On Behalf Of Paul_Koning at Dell.com
Sent: 13 December 2012 21:02
To: hecnet at Update.UU.SE
Subject: Re: [HECnet] VCF-East on HECnet?

Why?   DEC-10 is big endian...   :-)

	paul

On Dec 13, 2012, at 3:48 PM, John Wilson wrote:

From: "Rob Jarratt" <robert.jarratt at ntlworld.com>

Big endian, I use htons() to prepare the length for network
transmission.

Big-endian, for a DEC-only protocol?!   Heresy!

John Wilson
D Bit


I propose the following format:

+-----+-----+-----+-----+
|11-15|03-00|10-07|04-06|
+-----+-----+-----+-----+

Note the following
1. Each cell is nibble, left most cell is the most significant half of the
byte it represents
2. The cells are the bits numbers of the 16-bit number being represented, 0
is the least significant bit
3. Where the nibble bit range is descending the bits start at the most
significant bit and go to the least significant bit
4. Where the nibble bit range is ascending the bits are in the reverse
order.

Hopefully that is neither big endian or little endian so there won't be any
arguments. I call it middle-endian, or rob-endian for short.

Happy?   :-)

Regards

Rob



More information about the Hecnet-list mailing list