跨平台协议无关网络类库的设计与实现  

Design and Implementation of a Cross-platform Protocol-independent Network Class Library

在线阅读下载全文

作  者:蒋锦鹏[1] 包丛笑[2] 李星[1] 

机构地区:[1]清华大学电子工程系,北京10084 [2]清华大学网络中心,北京10084

出  处:《中国教育网络》2007年第2期45-48,共4页China Education Network

摘  要:虽然socket API是目前网络编程接口的事实标准,但它也存在一些的不足:接口复杂;使用不方便;协议无关性差;跨平台能力不强。针对这些问题,研究了跨平台和协议无关网络编程技术,并使用C++实现了一个跨平台协议无关网络类库。它可以同时支持Windows和Linux操作系统,支持以协议无关的方式进行网络编程,支持单播和ASM/SSM组播,支持UDP和TCP,支持基于TCP通信的标准输入输出流。通过在一个实际网络测量系统中的应用,验证了本类库达到了跨平台性和协议无关性的设计目标。Although the socket API is the defact standard of network programming interface nowadays, it suffers from some shortages as high complexity of interface, poor support for protocol-indepondent programming, and low cross-platform capability. Concerning these problems, cross-platform and protocol-independent network programming techniques are studied. Furthermore, a cross-platform protocol-indepondent network class library is implemented with C++, which supports both Windows and Linux, protocol-indepondent network programming, unicast, ASM and SSM multicast, supports both UDP and TCP transmission,and standard I/O stream based on TCP communication. It validated that this class library has accomplished the cross-platform and protocol-indepondent design goal through application in a practical network measurement system.

关 键 词:跨平台 协议无关 网络编程接口 输入输出流 类库 

分 类 号:TP311.13[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象