摘要: C++获取本机IP地址 /* *功能:传入一个网口名,获取相应的IP地址 * */ #include <stdio.h> #include <ifaddrs.h> #include <netinet/in.h> #include <string.h> #include <arpa/inet.h> s 阅读全文
posted @ 2022-08-12 15:02 hiccup_lh 阅读(115) 评论(0) 推荐(0) 编辑