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