首页 | 本学科首页   官方微博 | 高级检索  
     

与协议无关的Socket程序设计方法研究
引用本文:杜根远,张永,谭水木.与协议无关的Socket程序设计方法研究[J].计算机工程与设计,2008,29(14).
作者姓名:杜根远  张永  谭水木
作者单位:1. 成都理工大学信息工程学院,四川成都610059;许昌学院计算机科学与技术学院,河南许昌461000
2. 许昌学院计算机科学与技术学院,河南许昌,461000
基金项目:河南省科技厅科技攻关基金项目 , 河南省教育厅科技攻关基金项目
摘    要:IPv4向IPv6的演进是Internet发展的趋势,两种网络共存是一个漫长的过程,但是目前大部分应用程序都是基于IPv4的,如何将现有的应用程序平滑移植到IPv6网络成为急需解决的问题.分析了在Windows系统下通过WinsoekAPI实现二者兼容的方案,用实例阐述了Socket应用程序从IPv4向IPv6移植的方法及原则,方法简单有效,同时一定程度上实现了SocketAPI层的协议无关性.

关 键 词:IPv6套接字  应用程序  地址结构  移植过程  用户界面

Method research of socket programming unrelated to protocol
DU Gen-yuan,ZHANG Yong,TAN Shui-mu.Method research of socket programming unrelated to protocol[J].Computer Engineering and Design,2008,29(14).
Authors:DU Gen-yuan  ZHANG Yong  TAN Shui-mu
Affiliation:DU Gen-yuan1,2,ZHANG Yong2,TAN Shui-mu2(1.Department of Information Engineering,Chengdu University of Technology,Chengdu 610059,China,2.Department of Computer Science , Technology,Xuchang University,Xuchang 461000,China)
Abstract:With the development trends of Internet,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 s...
Keywords:IPv6 socket API  application procedures  address structures  porting process  user interface  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号