首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 获取本机的外网IP和内网IP.内网IP很容易获取,直接调用gethostbyname(name)...

获取本机的外网IP和内网IP.内网IP很容易获取,直接调用gethostbyname(name)...

  • 资源大小:28.40 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: Windows Socket编程

资 源 简 介

获取本机的外网IP和内网IP.内网IP很容易获取,直接调用gethostbyname(name)->h_addr_list就可以获取,但是外网IP还需要对一个提供显示当前外网IP的网页进行分析才可以获取,具体实现请参照代码.-Access to the machine outside the network and IP network IP. Within the IP network is easy to acquire, directly calls gethostbyname (name)-

文 件 列 表

GetIP
res
GetIP.aps
GetIP.clw
GetIP.cpp
GetIP.dsp
GetIP.dsw
GetIP.h
GetIP.ncb
GetIP.opt
GetIP.plg
GetIP.rc
GetIPDlg.cpp
GetIPDlg.h
ReadMe.txt
resource.h
StdAfx.cpp
StdAfx.h
VIP VIP
0.179272s