Joe Cooper wrote:
> Does htons and htonl handle order suitably?
It is what they are meant to be used for.
htons == Host TO Network Short
htonl == Host TO Network Long
ntohs == Network TO Host Short
ntohl == Network TO Host Long
In this context short == 16 bit, long == 32 bit.
-- HenrikReceived on Fri Jul 20 2001 - 08:00:25 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:07 MST