ntohl, ntohs - convert values between host and network byte order
#include <arpa/inet.h> uint32_t ntohl(uint32_t netlong); uint16_t ntohs(uint16_t netshort);
uint32_t ntohl(uint32_t netlong);
uint16_t ntohs(uint16_t netshort);
Refer to htonl().
First released in Issue 4.