摘要
BSDUnix的SOCKET和AT&TSystemV的TLI(TransportLayerInterface)是Unix系统中主流的网络应用程序接。API。SOCKET与系统I/O相关连,而TLI通过流机制实现,都分别依赖于各自操作系统的特性和机制。在操作系统国产化的要求下,同时提供SOCKET和TLI能极大提高系统的兼容性,但通过互相模拟或者提供两套系统都不能很好地同时实现SOCKET和TLI。CONETV2.0作为国产网络系统软件,采用优秀的x-kernel机制,它先进的面向对象和多线程特性很好地解决了以上难题。文章扼要说明了SOCKET和TLI的差异,并详细讨论了在CONETV2.0中同时实现两者的细节。
SOCKET of BSD Unix and TLI of AT&T System V both are common Application Program interfaces(API) for network in Unix operating system. SOCKET is associated with l/O of operating system, and TLI is implemented by Stream mechanism of AT&T System V. Their implementation both depend on the characteristic andmechanism of their operation system. It will improve its compatibility to implement the both APIs when implementing a indigenous operating system. But it isn't done well by simulating each other or providing two systems.CONET V2.0 is a indigenous network system which use excellent x--kernel mechanism. The problem is solved wellby its characteristics Of object--oriented and multithread. This paper first outlines the difference between the twoAPIs, then presents in detail their implementations in CONET V2.0.
出处
《计算机工程与应用》
CSCD
北大核心
1999年第12期94-97,100,共5页
Computer Engineering and Applications
基金
"九五"国家科技攻关项目