摘要
VxWorks具有良好的可裁减性、可靠性和卓越的实时性,广泛地应用于航天、海洋等实时性要求很高的领域中。首先简要介绍VxWorks系统的特性,接着说明VxWorks网络组件结构和通信原理。然后重点阐述VxWorks网络程序设计方法,针对当前网络通信的客户机/服务器模式,分别给出了基于TCP,UDP和组播的网络程序设计思路和步骤。最后将以上方法应用于系统高实时通信的程序设计中,并给出了部分源代码作为示例说明。
Because VxWorks system has good reliability, excellent real- time correspondence and can be reduced to meet specifically requires,it is widely used in many fields such as spaceflight and navigation, which needs high real -time correspondence. Firstly,this article simply introduces characteristics of VxWorks system. Secondly, network components and communication principles under VxWorks are described. Thirdly,in allusion to Client/Server Model of network communications,it emphatically tells some design methods and steps about network programs, which is based on TCP, UDP and multicast protocols. Finally,the design methods apply to system programs of high real - time communications,and some source codes about network communications are illustrated as examples.
出处
《现代电子技术》
2007年第14期143-146,共4页
Modern Electronics Technique