>In fact, if there are two things that _all_ programmers should learn: > 1. byte endian and alignment > 2. state machines Just as a side not for any aspiring programmers, there are XDR libraries that take care of this for you if used correctly. Use the GNOME file and stream components and they do it for you.