-
获得本机以及指定域名的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
-
查看DWG格式文件
查看DWG格式文件-View DWG format
- 2022-10-15 19:20:02下载
- 积分:1
-
现在的即时翻译软件种类很多,使用方法也各有千秋,但它们大都有一个 共同的特点:鼠标指到哪儿,就翻译它下面的单词。这大大地方便了用户,但是 从一个编程人员的角度来...
现在的即时翻译软件种类很多,使用方法也各有千秋,但它们大都有一个 共同的特点:鼠标指到哪儿,就翻译它下面的单词。这大大地方便了用户,但是 从一个编程人员的角度来看就不那么轻松了。因为没有一个方便的函数 类似”GetWordUnderMouse()”可以得到鼠标下面的单词,那么这些软件是怎么 做的呢?经常在BBS和mailing list里看到和我同样困惑的问着相同问题的网友们。-Now in the matket the immediatly translation software has many sorts.The method of using is also differently.But they have a feature in common:it translate the word when the mouse pointer points a word.This founction make things conwenient for the consumer,but through the angle of a programmer it is not so easyly.In the reason of not having a conveniet founction just as "GetWordUnderMouse()"that can get the word undermouse,then how did these software product?I ofen encoutered the web funs who had the same question as me in the BBS or maling list.
- 2022-07-20 04:12:49下载
- 积分:1
-
判断一个序列(从1―N,N<=10)的出
栈序列是否合法,合法序列输出YES,非
法输出NO。
例如:N=3,输入序列:1 2 3 或1 3...
判断一个序列(从1―N,N
- 2022-04-21 04:16:37下载
- 积分:1
-
FLASH版本的网络棋牌室。包含了游戏大厅,和游戏房间。C/S方式。...
FLASH版本的网络棋牌室。包含了游戏大厅,和游戏房间。C/S方式。-FLASH version of the network Chess Room. Includes a game room, and game room. C/S mode.
- 2022-08-25 22:34:10下载
- 积分:1
-
自定义树视图布局
下面的代码示例演示如何自定义树视图使用所有者描述的控件。 TreeView 控制的示例显示可选节点标记以及标准的节点标签。通过使用指定节点标记 TreeNode. 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-05-30 19:41:08下载
- 积分:1
-
提供CSocketModel类完整代码:"CSocketModel.zip" 该类是SOCKET通讯综合模型,该类完成后将包装各种SOCKET通讯模式(阻塞se...
提供CSocketModel类完整代码:"CSocketModel.zip" 该类是SOCKET通讯综合模型,该类完成后将包装各种SOCKET通讯模式(阻塞select,异步窗口,异步事件,重叠I/O,完成I/O)等.它可以被各种通讯程序方便采用.尤其是基于SERVER/CLIENT的SERVER程序会提高大幅度性能.如果使用人要完成特定的通讯功能可以从该类继承,增加对线程池的支持功能。-provide complete CSocketModel category code : "CSocketModel.zip" SOCKET is such integrated communications model, such completion, will repackage the mode of communication SOCKET (blocking select, asynchronous window, asynchronous events, overlapping I/O, complete I/O). It can be the species used to facilitate the communication process. based particularly SERVER/CLIENT SERVER the procedures significantly improve performance. If people use to accomplish specific communication from such succession, increasing the pool of threads support.
- 2022-03-23 21:56:34下载
- 积分:1
-
获得COD fiscal()
从财政部网站提取一个客户身份资料
- 2022-08-15 03:46:31下载
- 积分:1
-
ER schema description for Icarnegie Exercise5.
ER schema description for Icarnegie Exercise5.
- 2022-02-04 07:50:16下载
- 积分:1
-
bank savings system source code! We hope that the support! Thank you for assessi...
银行储蓄系统源代码!希望大家支持!谢谢大家给于评价!-bank savings system source code! We hope that the support! Thank you for assessing!
- 2022-02-05 00:09:21下载
- 积分:1