摘要: 环境: linux gcc 三个函数 (适合IPV4) #include<arpa/inet.h> in_addr_t inet_addr(const char * strptr); //将 IP 转换成 网络字节序 int inet_aton(const char * strptr,struct 阅读全文
posted @ 2021-07-01 21:44 appearAndLeave 阅读(1345) 评论(0) 推荐(0)