作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 2004, Vol. 30 ›› Issue (14): 93-.

• 论文 • 上一篇    下一篇

协议栈的实现方法

郝京宇,黄建华,贾风根   

  1. 国家数字交换系统工程技术研究中心,国家数字交换系统工程技术研究中心,国家数字交换系统工程技术研究中心 郑州 450002
  • 发布日期:2004-07-25

Implementation Methods of Protocol Stacks

HAO Jingyu, HUANG Jianghua,JIA Fenggen   

  1. (Engineering Technology Research Center of State Digital Exchange System, Zhengzhou 450002)
  • Published:2004-07-25

摘要: 基于操作系统或国外公司提供的协议栈在网络应用中存在以下两个问题:一是在安全性上不可靠;二是难以满足一些特殊应用中的的特殊需求(如效率问题)。在一些项目的开发过程中有必要开发自己的协议栈。作者分析了几种协议栈的源码,如RedHat Linux、Routware公司的协议栈软件包,发现协议栈的实现是有章可循的,并站在一定的高度上归纳了一些协议栈实现的规律或方法。

关键词: 网络通信, 协议栈, Socket

Abstract: Many foreign companies such as Routeware are dedicated to providing source codes of various protocol stacks. However, the protocol stacks have two main drawbacks in networking applications: one is that they are not reliable in security and the other is that they can't satisfy some special requirements, for example, efficiency problem of some special applications. So it's necessary to develop private protocols in some projects. In this paper, based on the analysis of protocol stacks implementation packets of RedHat Linux and Routeware, the authors conclude that there are some principles in the implementation of protocol stacks and give some valuable solusions on the implementation of protocol stacks.

中图分类号: