该实例通过Winsock函数gethostname,gethostbyname和gethostbyaddr获得主机IP和主机名
标签: gethostbyname gethostbyaddr gethostname Winsock
上传时间: 2013-12-26
上传用户:ikemada
根据域名获得IP地址列表.主要用到了IPHostEntry类以及gethostbyname方法
标签: gethostbyname IPHostEntry 地址
上传时间: 2016-01-15
上传用户:yuanyuan123
find the information about a host with the DNS retrieving system calls, such as gethostbyname() and gethostbyaddr(). (2) All the required information are in the hostent structure. (3) All the aliases and IP addresses of the host is stored in the hostent structure using linked list (链表).
标签: gethostbyname information retrieving the
上传时间: 2016-02-20
上传用户:13517191407
UNIX/Linux环境下的使用gethostbyname()实现域名解析的代码。
标签: gethostbyname Linux UNIX 环境
上传时间: 2016-08-15
上传用户:rishian
通常linux针对gethostbyname为阻塞的,为了解决这个问题单独实现非阻塞dns解析
标签: dnsclientlinux
上传时间: 2016-05-31
上传用户:zbo210