-
获得本机以及指定域名的ipv4和ipv6地址
应用背景本代码可以用来实现获取本机以及指定域名的ipv4地址以及ipv6地址,代码分了两个c++文件,并非写在一起,使用时可以注释掉其中一个或是新建项目将其中一个c++文件剪切进去。关键技术
对于本地的ip地址我们只需要使用WinSocket继承的Berkeley Socket API里面的函数gethostbyname()通过名字获得主机信息,然后再显示出其ip地址即可,对于输出ipv6地址需将地址族改为AF_INET6.进一步得到ipv6地址。而要得到指定域名的ip地址时需要对一个地址同样使用gethostbyname()获得信息,再进行显示。
- 2022-07-04 18:45:02下载
- 积分:1
-
VC的窗口计时器实例
VC的窗口计时器实例-VC window timer example
- 2022-03-25 15:58:27下载
- 积分:1
-
OCR字符识别的源代码,Windows应用程序开发…
OCR字符识别技术开发源代码,WINDOWS应用程序开发,字符识别技术-the resource code of OCR character recognition, WINDOWS practical program development, character recognition technology
- 2022-11-08 02:45:03下载
- 积分:1
-
00-59秒计时器(利用软件延时)清晰易懂,适应与初学者
00-59秒计时器(利用软件延时)清晰易懂,适应与初学者-00-59 seconds timer (using software delay) a clear and easy to understand, adapt and beginners
- 2022-02-25 14:40:42下载
- 积分:1
-
希望大家多提点意见
希望大家多提点意见-hope everyone LONDON
- 2022-02-21 15:41:16下载
- 积分:1
-
microsoft bootvis.zip
microsoft bootvis.zip
- 2022-07-24 09:34:00下载
- 积分:1
-
基于Windows Ce 嵌入式开发环境下的带有科学型和普通型的计算器...
基于Windows Ce 嵌入式开发环境下的带有科学型和普通型的计算器-Windows Ce-based embedded development environment with a scientific calculator-type and ordinary type
- 2022-01-31 02:46:10下载
- 积分:1
-
generated hues and saturation gradient image
生成色调和饱和度渐变的图像-generated hues and saturation gradient image
- 2022-03-23 13:04:40下载
- 积分:1
-
英文主源代码,附录的源代码
《英文版掌握Vc++》附录中的源代码-"English master Vc" appendix of source code
- 2022-08-10 00:14:19下载
- 积分:1
-
Design of fuzzy controller for smart
Design of fuzzy controller for smart
- 2023-04-30 06:55:03下载
- 积分:1