搜索资源列表
c_s_udp_tcp
- 基于ace和wxWidgets结合使用的c/s结构的例子,server广播后,client对server发起连接,然后server启动接收线程,并将收到的数据通过单独的线程进行处理;该代码有以下特点:wxWidgets事件循环和ace的Reactor事件循环并行处理,定时器以及读写的并行处理,udp和tcp通信的并行处理,ui线程和通信线程的并行处理;有此例子,开发跨平台跨编译器的带图形界面的c/s程序易如反掌。-wxWidgets based ace and the combined use
NamePipe.rar
- 做多客户端与服务器端的双向通信,采用QLocalSocket/QLocalServer实现起来简单,但通信效率太低,客户端发数据,服务器端的readyRead信号延时约100ms(看QT源码,发现里面用的是100ms定时器来检测信号),后来自己照着QLocalSocket的思路封装了windows的命名管道,采用多线程来接收数据,在本机上测试通过,通信效率有明显改善。,To do more client and server-side two-way communication, using Q
client
- 基于以太网的分布式控制系统中,为提高网络传输实时性和稳定性,在多媒体定时器线程中收发数据。客户端部分-Ethernet-based distributed control systems, to improve the network transmission and stability of real-time, in the multimedia timer thread to send and receive data. Client part
test_muli01_SERVER
- 在基于以太网分布式控制系统中,为提高网络通信实时性和稳定性,在多媒体定时器线程中收发数据包。服务器部分采用异步非阻塞式-Ethernet-based distributed control system, in order to improve network communications in real-time and stability, in the multimedia timer thread to send and receive packets. Server part of t
BT.Demo
- 由delphi实现的bt下载器示例程序,带全部源码和BT协议 包中文件说明: BTDemo.dpr, BTDemoF.pas, BTDemoF.dfm -- 一个简单的bt下载器,支持多个.torrent文件同时下载 btutils.pas -- 核心bt组件 DCP*.pas -- SHA算法源码(复制自DEC组件包) InetUtils.pas -- 提供Internet下载的函数库 SimpleSocks.pas -- socket组件(TCP) SortLis
selectTimer
- Unix/Linux下使用select和多线程可以精确到微秒级的定时器,封装成类可单独使用。-Select and multi-threaded Unix/Linux can be accurate to the microsecond timer, encapsulated into a class can be used alone.
MultiThread_Settimer
- windows下的多线程和定时器的实例源码,适合初学者-windows of the multi-threading and timer source code examples for beginners
NetManagementSystem
- 一个linux下的网络管理系统,可用于嵌入式系统。包含定时器、socket、udp、多线程等功能模块。-A network management system under linux, can be used for embedded systems. Includes a timer, socket, udp, multi-threading and other functional modules.