Linux下多线程Socket通讯的研究与应用  被引量:32

Study and Application of the Socket Communication Based on Multithreading in Linux

在线阅读下载全文

作  者:王枫[1] 罗家融[1] 

机构地区:[1]中国科学院等离子体物理研究所,合肥230031

出  处:《计算机工程与应用》2004年第16期106-109,共4页Computer Engineering and Applications

基  金:国家"九五"重大科学工程-HT7U超导托卡马克核聚变实验装置的一个子项目(编号:国家发展计划委员会"计投资(1998)1303号项目")

摘  要:Linux操作系统具有良好的稳定性和出色的网络性能,因此被广泛应用于网络服务领域。而在Linux下开发高性能的网络通讯程序,是充分发挥Linux网络特性的一个关键因素。文章通过对Socket通讯模型的分析和比较,阐述了在大规模分布式系统中采用多线程Socket通讯技术的必要性。并且以HT-7数据采集和控制系统中的炮号服务器为例,详细说明了如何在Linux下利用多线程Socket通讯技术进行网络通讯程序的开发。Linux operation system has favorable stability and excellent capability of network which has been used in the field of network services.It is a key for taking advantage of network feature of Linux that developing network com-munication programs with high performance.This paper analyzes and compares the Socket modules,and concludes that it is necessary to adopt multithreading socket communication in a great distributed system.It also provides a actual case,the ShotNo server of HT-7control and data acquisition system,and describes how to develop the network communica-tion programs using multithreading socket in Linux.

关 键 词:LINUX SOCKET 多线程 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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