文件名称:NetTalkN
- 所属分类:
- 网络编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2008-10-13
- 文件大小:
- 56.79kb
- 下载次数:
- 0次
- 提 供 者:
- yan***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
实现了子网广播地址的自动计算。这应该是原来版本中最不好用的一个问题。时不时有网友发邮件给我,说在他们的局域网中用不了。问题其实就是子网广播地址,我是把适用我们公司用的子网广播地址写死在程序了。在其他的局域网中用,要改这个值并重新编译。所以这次把这个问题做掉了,不过解决的并不彻底。程序可以自动取到本机的IP地址,并根据该IP地址的子网掩码计算出子网广播地址。但一台机器上有可能装多个网卡,并绑定多个IP地址,一些虚拟计算机软件也会产生一些虚拟的网卡。我是最不喜欢在程序中加dialog的,所以我就自做主张的取了第一块网卡的第一个IP地址,对于绝大多数的机器这就足够了。如果你不希望用第一块网卡的第一个IP地址,请自己修改程序目录下的conf.ini文件,填入IP地址和相应的子网广播地址就可以了。子网广播地址的计算方法为:(0xFFFFFFFF ^ 子网掩码) | (IP地址 & 子网掩码)。
-realized the subnet broadcast address to the automatic calculation. This should be the original version of the worst of a problem. From time to time a netizen mail to me that in their LAN impossible. Is actually subnet broadcast address, I can apply to our company with the subnet broadcast address was dead in the proceedings. In other LAN used to change the value and recompiled. So, the issue of doing the swap, but is not completely resolved. Automatic procedures can be obtained from the machine's IP address, and according to the IP address and Subnet Mask calculated subnet broadcast address. However, a machine may be loaded with multiple cards, and bundled with a number of IP addresses, Some virtual computer software will also have some virtual card. I most dislike the process increas
-realized the subnet broadcast address to the automatic calculation. This should be the original version of the worst of a problem. From time to time a netizen mail to me that in their LAN impossible. Is actually subnet broadcast address, I can apply to our company with the subnet broadcast address was dead in the proceedings. In other LAN used to change the value and recompiled. So, the issue of doing the swap, but is not completely resolved. Automatic procedures can be obtained from the machine's IP address, and according to the IP address and Subnet Mask calculated subnet broadcast address. However, a machine may be loaded with multiple cards, and bundled with a number of IP addresses, Some virtual computer software will also have some virtual card. I most dislike the process increas
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 81404579nettalkn.rar 列表 版权信息.txt 说明.TXT conf.cpp conf.h res\CVS\Entries res\CVS\Entries.Extra res\CVS\Entries.Extra.Old res\CVS\Entries.Old res\CVS\Repository res\CVS\Root res\CVS res\icon1.ico res\icon2.ico res\NetTalkN.exe.manifest res\NetTalkN.ico res\Thumbs.db res aboutdlg.cpp aboutdlg.h def.cpp def.h emotion.cpp history.TXT main.cpp main.h maindlg.CPP maindlg.h NetTalkN.cpp NetTalkN.h NetTalkN.rc NetTalkN.sln NetTalkN.vcproj resource.h retail.txt stdafx.cpp stdafx.h string_auxiliaries.cpp string_auxiliaries.h trayiconimpl.h