摘要
目前大多数的局域网通信程序工作在服务器/客户机模式下。在此模式下的应用程序工作过程相对复杂且消耗资源较多。介绍了一种基于多线程技术和Windows消息机制的局域网通信程序的实现过程,使得两台网内主机可以在对等模式而不是传统的服务器/客户机模式下进行数据传输,从而简化了常见局域网通信程序编制中较为复杂的工作过程,实现了一种相对便捷的网络数据传输方式。
Presently, most network-communication programmes are running under the client/server mode. The mode has a more complex running process and takes more resources. A new design of network-communication program, based on the multithreading technology and Windows message mechanism, is proposed. The program renders two hosts to transfer data in the peer-to-peer mode. Thus, the relative complex designing of network-communication program will be simplified and a convenient manner for data transferring can be realized in the network.
出处
《计算机工程与设计》
CSCD
北大核心
2008年第2期323-325,384,共4页
Computer Engineering and Design