摘要: C语言编写:UDP协议的应用:DNS(Domain Name System)服务 将域名解析出一个或多个IP地址 查看man 手册:man 3 gethostbyname 函数原型: #include <netdb.h> extern int h_errno; struct hostent *get 阅读全文
posted @ 2024-06-04 21:41 沉舟道人 阅读(6) 评论(0) 推荐(0) 编辑