节点文献

一种新型的Socket通信机制

A Novel Socket Communication Mechanism

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 薛海强何江玲苏森

【Author】 Xue Haiqiang, He Jiangling, Su Sen(National Key Lab of Switch Technology and Telecommunication Networks, Beijing University of Posts and Telecommunications, Beijing ,100876, China)

【机构】 北京邮电大学交换技术与通信网国家重点实验室

【摘要】 Socket是Unix平台上网络编程的基础,Socket API提供了进程之间的通信功能,但如果通信的一方发生故障重新启动,通信连接就会断开,应用层必须显式的重新建立连接才可以继续通信.本文对传统Socket通信机制进行了综合分析,在保证效率的前提下,提出了一种新型的Socket通信方法,采用这种方法,可以为分布在网络上不同主机上的进程间通信提供具有故障恢复能力的可靠通信.

【Abstract】 Socket is the base of Unix platform network programming, it provides the interprocess communication function, but, if one of the communication parts restores from malfunction, the socket connection will be disconnected and the upper application layer must reconnect explicitly to set up the socket connection again. In this paper, the disconnection exceptions of socket communication are analysed, furthermore a novel mechanism of socket communication is proposed. This method provides the disconnection tolerance for interprocess communication.

【关键词】 Socket网络通信自动重连
【Key words】 Socket Network Communication Auto-reconnect
  • 【会议录名称】 第九届全国青年通信学术会议论文集
  • 【会议名称】第九届全国青年通信学术会议
  • 【会议时间】2004-05
  • 【会议地点】中国重庆
  • 【分类号】TP393
  • 【主办单位】中国通信学会
节点文献中: