Simple differences - endianness Word order between processors Solution: Use appropriate byte-swapping functions htonl(), ntohl(), htons(), ntohs() 4.2BSD byteorder(3) functions are more explicit: htobe32(), betoh64(), htole16(), letoh64(), etc. Not universally available