文件名称:resolver
- 所属分类:
- Internet/网络编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2013-11-24
- 文件大小:
- 3kb
- 下载次数:
- 0次
- 提 供 者:
- h**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
使用getaddrinfo和getnameinfo获取地址信息和主机信息-This sample illustrates how to use the new name resolution APIs:
// getaddrinfo and getnameinfo. This sample takes a hostname or address
// and performs an address resolution via getaddrinfo. This lookup will
// return one or more binary addresses which will then be passed to
// getnameinfo to perform a reverse lookup. The results of each query
// are displayed to the console.
// getaddrinfo and getnameinfo. This sample takes a hostname or address
// and performs an address resolution via getaddrinfo. This lookup will
// return one or more binary addresses which will then be passed to
// getnameinfo to perform a reverse lookup. The results of each query
// are displayed to the console.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
resolver.cpp