获取域名的IP地址 #include #include #include #include #include #include int main(){ struct hostent *host; char hostname1[] = "www.baidu.com"; char hostname2[] = "www.google.com.cn"; struct in_ad Linux C 2023-10-07 47 点赞 0 评论 71 浏览