首页 | 官方网站   微博 | 高级检索  
     

Linux下多线程Socket通讯的研究与应用
引用本文:王枫,罗家融.Linux下多线程Socket通讯的研究与应用[J].计算机工程与应用,2004,40(16):106-109.
作者姓名:王枫  罗家融
作者单位:中国科学院等离子体物理研究所,合肥,230031
基金项目:国家“九五”重大科学工程—HT7U超导托卡马克核聚变实验装置的一个子项目(编号:国家发展计划委员会“计投资(1998)1303号项目”)
摘    要:Linux操作系统具有良好的稳定性和出色的网络性能,因此被广泛应用于网络服务领域。而在Linux下开发高性能的网络通讯程序,是充分发挥Linux网络特性的一个关键因素。文章通过对Socket通讯模型的分析和比较,阐述了在大规模分布式系统中采用多线程Socket通讯技术的必要性。并且以HT-7数据采集和控制系统中的炮号服务器为例,详细说明了如何在Linux下利用多线程Socket通讯技术进行网络通讯程序的开发。

关 键 词:Linux  Socket  多线程
文章编号:1002-8331-(2004)16-0106-04

Study and Application of the Socket Communication Based on Multithreading in Linux
Wang Feng Luo Jiarong.Study and Application of the Socket Communication Based on Multithreading in Linux[J].Computer Engineering and Applications,2004,40(16):106-109.
Authors:Wang Feng Luo Jiarong
Abstract: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.
Keywords:Linux  Socket  multithreading  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号