一种带有断开恢复功能的Socket通信方法  被引量:1

A Socket Communication Method with Disconnection Restoration

在线阅读下载全文

作  者:薛海强[1] 苏森[1] 

机构地区:[1]北京邮电大学交换技术与通信网国家重点实验室,北京100876

出  处:《计算机应用研究》2005年第10期236-239,共4页Application Research of Computers

基  金:国家"863"计划资助项目(2002AA121012);国家自然科学基金资助项目(90204007)

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

分 类 号:TP393.04[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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