VxWorks下基于socket的网络通信设计  被引量:10

Design on Network Communication Based on Socket in VxWorks

在线阅读下载全文

作  者:肖磊[1] 

机构地区:[1]中国电子科技集团公司第五十四研究所,河北石家庄050081

出  处:《计算机与网络》2013年第12期66-68,共3页Computer & Network

摘  要:在对嵌入式系统网络通信应用情况分析的基础上,介绍了通信套接字(socket),详细说明了使用面向连接的socket进行网络通信的编程模型。针对实时控制系统网络通信的特点,结合VxWorks嵌入式实时操作系统的多任务机制,设计实现了VxWorks下基于面向连接socket的网络通信程序,并从任务划分、任务调度与优先级设置、任务间通信、网络连接监测、数据收发等方面阐述了设计重点与实现方法。Based on the application analysis of embedded system network communication, the Socket is introduced and the programming model using SOCK_STREAM socket to implement network communication is described in detail. Based on the features of network communication of real-time control system, and combination the network communication program based on SOCKSTREAM socket in VxWorks is designed and implemented combining with the multi-task mechanism of VxWorks embedded real-time operating system. The key points of design and implementation method are described,from such aspects as task division, task schedule and task priority setting, intertask communication, network connection monitoring and data transceiving.

关 键 词:VXWORKS 网络通信 SOCKET 

分 类 号:TP316.2[自动化与计算机技术—计算机软件与理论] TP368.1[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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