摘要
比较了UDP与TCP协议之间的差别,分析了局域网内广播通信的优点,讨论了异步广播通信的特点,并给出了实现异步广播通信的步骤.在Windows中利用VC++6.0来实现了基于UDP协议的异步广播通信,并给出了相应的实例程序.仿真试验表明,该网络通信方式能够良好地满足仿真中实时数据通信的需要.
The differences between UDP and TCP protocols were compared. The advantages of broadcast communication in local area network were proposed. The characteristics of asynchronous broadcast communication were analyzed, and the process how to realize it was presented. An application of asynchronous broadcast communication based on UDP with VC++6.0 in Windows was programmed, and its performance in a simulation system is good enough for real time data communication.
出处
《应用科技》
CAS
2004年第2期44-46,共3页
Applied Science and Technology