>>32
#include <stdio.h>
#include <windows.h>
int main() {
short value = 0x1234;
int value2 = 0x12345678;
printf("0x%x->0x%x\n", value, htons(value));
printf("0x%x->0x%x\n", value2, htonl(value2));
return 0;
}