// Internet address conversion declarations for nt-lite POSIX. #pragma once #include #include NTL_POSIX_API uint16_t htons(uint16_t value); NTL_POSIX_API uint16_t ntohs(uint16_t value); NTL_POSIX_API uint32_t htonl(uint32_t value); NTL_POSIX_API uint32_t ntohl(uint32_t value); NTL_POSIX_API in_addr_t inet_addr(const char* text); NTL_POSIX_API char* inet_ntoa(struct in_addr address); NTL_POSIX_API int inet_pton(int family, const char* source, void* destination); NTL_POSIX_API const char* inet_ntop(int family, const void* source, char* destination, socklen_t size);