hi, integers.hh defines functions ntohq/htonq, but to me they look identical? To me it looks like, in ntohq, the return return (((uint64_t)ntohl(lo)) << 32) | ntohl(hi); should be replaced by return (((uint64_t)ntohl(hi)) << 32) | ntohl(lo); ???