摘要
.Net框架下利用C#编程语言开发支持IPv4/IPv6的网络应用程序。首先在欲通讯主机上安装双协议栈,并采用C/S模式。IPv4协议栈为默认安装;XP系统IPv6协议栈需在两台PC机命令行中输入ipv6install,通过ipconfig查看相关信息,得到客户端和服务器端相关地址。使用SupportIPv4、SupportsIPv6及InterNetwork、InterNetworkv6等属性,实现对IPv4/IPv6的支持。
Based on Net framework, the network application program to support IPv4/IPv6 was developed by using C# programming language. Dual stacks were installed on the hosts that would communicate, and C/S mode was also adopted. A default installation was used for IPv4 protocol stack; and for IPv6 protocol stack of XP system; ipv6 install was inputted in command lines of two different PC; associated information was look at through ipconfig to get associated address of client-side and server. The support ion of IPv4/IPv6 was realized with SupportIPv4, SupportsIPv6, lnterNetwork and InterNetworkv6.
出处
《兵工自动化》
2006年第2期52-53,共2页
Ordnance Industry Automation