摘要
单纯用TCP或UDP实现局域网通信存在很多不足,为了建立高效、稳定、可靠的通信。并以多媒体教学系统的软件开发为例,在Delphi平台上,运用Indy9.0组件,将UDP和TCP结合起来,实现了局域网中C/S模式的通信。首先简述TCP,UDP协议的特点,对网络中三种基本的数据传输模式进行了比较,然后介绍Indy技术,最后写出实现这种方式的关键步骤和程序。
There are many shortages when TCP or UDP is used respectively to achieve the communication in the LAN. To establish an efficient, stable, reliable communication,taking the development of a Multimedia Learning System as an example, this article combines UDP and TCP and achieves a communication of C/S mode in the LAN based on Indy 9.0 components using Delphi. This paper first gives the characteristics of TCP and UDP in brief. Following is the comparison among the three basic data transmitting modes. Then introduces the technology of Indy components. Finally, the key steps and programme are given.
出处
《现代电子技术》
2007年第20期108-110,共3页
Modern Electronics Technique