Re: endianness guide
It's simple, you do not need a document. All that you need to do is to
use hton[l|s] macros in ALL data (more precisely, headers, which are
processed by machines of both endianess) you pass to Internet.
For hton[l|s], maybe this document helps:
Assistant Professor / Maître de conférences