4.2.12 htonl

uint32_t htonl(uint32_t hostlong)

The htonl function converts hostlong from host-byte order to network-byte order.