资 源 简 介
获取本机的外网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)-