Use the network byte order (big endian), which is the same as Java uses anyway. See man htons for the different translators in C.
Use the network byte order (big endian), which is the same as Java uses anyway. See man htons for the different translators in C.