摘要
IPv4向IPv6的演进是Internet发展的趋势,两种网络共存是一个漫长的过程,但是目前大部分应用程序都是基于IPv4的,如何将现有的应用程序平滑移植到IPv6网络成为急需解决的问题。分析了在Windows系统下通过WinsockAPI实现二者兼容的方案,用实例阐述了Socket应用程序从IPv4向IPv6移植的方法及原则,方法简单有效,同时一定程度上实现了SocketAPI层的协议无关性。
With the development trends of Intemet, IPv4 will gradually evolve into IPv6 and they will coexist for a long time. The majority of applications are given based on the IPv4 network, it become an urgent problem to realize the smooth transplantation of those applications into IPv6 network. The scheme of accomplishing the compatibility with IPv6 through Winsock API in the Windows system is analyzed, and the transplanting methods and principles of socket applications from IPv4 to IPv6 is illustrated. The method is simple and effective, and meanwhile achieves protocol independence in socket API to some extent.
出处
《计算机工程与设计》
CSCD
北大核心
2008年第14期3826-3828,共3页
Computer Engineering and Design
基金
河南省科技厅科技攻关基金项目(0524220054)
河南省教育厅科技攻关基金项目(200510480003)
关键词
IPv6套接字
应用程序
地址结构
移植过程
用户界面
IPv6 socket API
application procedures
address structures
porting process
user interface