#include <netinet/in.h> | |
uint16_t htons(uint16_t host16bitvalue); | |
uint32_t htonl(uint32_t host32bitvalue); | |
/* Both return: value in network byte order */ | |
uint16_t ntohs(uint16_t net16bitvalue); | |
uint32_t ntohl(uint32_t net32bitvalue); | |
/* Both return: value in host byte order */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment