Welcome![Sign In][Sign Up]
Location:
Search - c_s_udp_tcp.rar

Search list

[Remote Controlc_s_udp_tcp

Description: 基于ace和wxWidgets结合使用的c/s结构的例子,server广播后,client对server发起连接,然后server启动接收线程,并将收到的数据通过单独的线程进行处理;该代码有以下特点:wxWidgets事件循环和ace的Reactor事件循环并行处理,定时器以及读写的并行处理,udp和tcp通信的并行处理,ui线程和通信线程的并行处理;有此例子,开发跨平台跨编译器的带图形界面的c/s程序易如反掌。-wxWidgets based ace and the combined use of c/s structure of the examples, After the broadcast server, client connect to server initiated, then start receiving threaded server and the data received through a separate thread processing; The code has the following characteristics : wxWidgets ace incident cycle and the cycle of Reactor incident parallel processing, Timer and writable parallel processing, tcp and udp communications parallel processing, Got threads and the threads in parallel communications; this example, Cross-platform development of cross-compiler with the graphical interface c/s procedures as easy.
Platform: | Size: 2088960 | Author: wuyan | Hits:

CodeBus www.codebus.net