首页 | 本学科首页   官方微博 | 高级检索  
     

VxWorks系统下的UDP通信在实时系统中的应用
引用本文:谈敏刚,钱龙军.VxWorks系统下的UDP通信在实时系统中的应用[J].工业控制计算机,2014(12):1-3.
作者姓名:谈敏刚  钱龙军
作者单位:南京理工大学自动化学院,江苏 南京,210094
摘    要:首先简要介绍了某一实时武器系统的网络组成,以及网络通信的基本结构。实时系统采用嵌入式操作系统VxWorks和TCP/IP网络通信协议。讨论了TCP协议与UDP协议各自适用的场合和优缺点。通过比较,系统采用了VxWorks系统下的UDP通信。接着介绍了Socket网络编程,并针对客户端/服务器通信模式的优缺点,给出了此实时系统的客户端与服务器的设计思路与步骤。最后给出了部分代码作为示例说明。

关 键 词:VxWorks  网络通信  UDP协议  套接字

UDP Communication Under VxWorks Applicated in Real-time Systems
Abstract:First,this paper gives out a brief introduction to the network of real-time weapons systems and the basic structure of the communication network.Embedded operating systems VxWorks and TCP/lP network communication protocol are applied to the real-time systems.Then the paper introduces TCP protocol and UDP protocols applicable occasions and the advan-tages and disadvantages of each,and finaly chose UDP protocols under VxWorks system.This paper also describes the socket network programming,and according to the advantages and disadvantages of client/server communication mode,the paper gave out the design ideas and steps of the real-time client and server systems.
Keywords:VxWorks  network communications  UDP Protocol  sockets
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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