code_junkie

Is endian conversion required for wchar_t data?

Nov 13th, 2011
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. ntohs Convert a 16-bit quantity from network byte order to host byte order
  2. ntohl Convert a 32-bit quantity from network byte order to host byte order
  3. htons Convert a 16-bit quantity from host byte order to network byte order
  4. htonl Convert a 32-bit quantity from host byte order to network byte order
Add Comment
Please, Sign In to add comment