[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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: http://www.ecst.csuchico.edu/~beej/guide/net/bgnet.pdf

HTH,
Eugen
--
Eugen Dedu
Assistant Professor / Maître de conférences
http://lifc.univ-fcomte.fr/~dedu



Reply to: