摘要: 介绍了Rabbit 2000微处理器和Dynamic C开发系统的优点,并对基于RCM2200模 块开发的交换式以太网测控系统进行了说明。分析了使用阻塞型函数实现通信的方式和使用 非阻塞型函数实现通信的方式,并给出了两种编程方式的主要流程,结合实际通信控制系统 给出了使用阻塞型函数实现通信的仿真结果。
关键词:
交换式以太网,
Rabbit2000,
Socket,
动态C
Abstract: Rabbit2000 microprocessor and Dynamic C-language development system are introduced in this paper. The measurement and control system, based on the switched Ethernet with development on RCM2200 module, are described. To open TCP socket can adopt blocking functions or functions without blocking. Two methods are analyzed, and the flowcharts according to them are illustrated. In the last, the simulation result of communication and control system with blocking functio ns is given.
中图分类号:
张广辉,徐江华,邵惠鹤. 基于Rabbit 2000的Socket网络编程[J]. , 2003, 29(21): 35-37.
ZHANG Guanghui, XU Jianghua, SHAO Huihe. Network Programming of Socket Based on the Rabbit 2000[J]. , 2003, 29(21): 35-37.