判斷ipv6地址是否合法

Linux自己已經有ipv6合法性的判斷宏web #include <netinet/in.h> int IN6_IS_ADDR_UNSPECIFIED(const struct in6_addr *aptr); int IN6_IS_ADDR_LOOPBACK(const struct in6_addr *aptr); int IN6_IS_ADDR_MULTICAST(const struc
相關文章
相關標籤/搜索