文件名称:getlocalip
- 所属分类:
- Internet/网络编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- 吴*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
This example shows how to get the local machine s IP addresses.
Yes, "addresses," plural. You can count on seeing at least two
addresses on most machines: one for the loopback interface (127.0.0.1)
and at least one for an external network interface. It is not at all
uncommon for a single machine to have multiple network interfaces:
a PC on a LAN with a modem connected to the Internet, for instance.
The loopback interface lets two programs running on a single machine
talk to each other without involving hardware drivers.
Yes, "addresses," plural. You can count on seeing at least two
addresses on most machines: one for the loopback interface (127.0.0.1)
and at least one for an external network interface. It is not at all
uncommon for a single machine to have multiple network interfaces:
a PC on a LAN with a modem connected to the Internet, for instance.
The loopback interface lets two programs running on a single machine
talk to each other without involving hardware drivers.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
getlocalip.cpp