4.2.14 htons

uint16_t htons(uint16_t hostshort)

The htons function converts hostshort from host-byte order to network-byte order.