搜索资源列表
AsyncSSLClient
- 配合异步socket使用SSL的例子。异步Socket可以使用很少的线程(最少只需要一个线程)就能管理大量的连接-with asynchronous socket using SSL example. Asynchronous Socket can use a few threads (at least only one thread) will be able to manage a large number of connections
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
基于TCP-IP多线程文件传输
- 多线程socket文件传输,很好的一个例子,极力推荐-multi-thread socket programming for file translating. this is a very good example.
distanceVectorRouter(c).rar.ra
- 利用距离向量算法更新路由表。 该程序的多个实例(进程或线程)可以以运行在一台机器 一个实例代表一个路由器(结点)。 实例之间利用UDP交换路由表。 能够打印出邻居列表和输出路由表!(c语言实现),The use of distance vector algorithm to update the routing table. Multiple instances of the program (process or thread) can be run on a machine on
mnet_demo
- 一个网络通信开发库示例源码,封装了TCP和UDP的socket函数,封装了完成端口、WSAEventSelect、select等3种winsock I/O模型,并结合线程池+内存池模式,支持高并发。 -Example of a network communications development library source code, TCP and UDP encapsulates the socket function, encapsulates the completion port,
example
- 利用共享内存实现多线程间通信。 主线程派生子线程后即处于休眠状态,等待子线程结束时发出结束信号唤醒。在被唤醒后,主线程向屏幕输出结束信息! 线程A向共享内存中写入A~Z的大写字母。 线程B通过共享内存接收这些字母,并将其保存到/test.dat文件中。 注意线程之间的同步互斥! -Using shared memory communication between multi-threading. Derived from sub-thread after main thread
4GClientAutoUpdataServer
- 传奇4G的客户端更新服务器功能很强大,是学习Tcp/IP的好例子,里面有TCP/IP线程池的基础模型。-Legend 4G client update server functionality is very powerful, is to learn Tcp/IP a good example, which have TCP/IP base model of the thread pool.
Socket
- Linux 之下实现的使用线程池的 socket 优秀例子-Under the use of Linux to achieve excellent example of socket thread pool
multi_thread_udp
- 多线程UDP通讯例子- Multi-thread UDP communication example
Thread
- 这是一个实现线程的基本例子,希望对学习线程的同行有所帮助-This is a basic example of the realization of thread, hoping to learn from peer help thread
MySo
- 例子以拍拍网为例下载网页,最大线程1024,但是要比较好的网络条件下,机器配置比较高才不会处问题哦,在服务器上测试效果很好。-Patted network example to download page as an example, the biggest thread 1024, but relatively good network conditions, the machine configuration will not compare Gao Cai Department issue
yinghua
- 本代码制作烟花。执行本例实例后,用鼠标点击浏览器中的面板,将出现五彩缤纷的烟花效果。本实例的知识点有:鼠标事件的监听,Graphics类和Thread类的应用。-The code produced fireworks. Examples of the implementation of the present cases, the use of mouse clicks in the browser panel, there will be the effect of colorful fire
Internetchatrooms
- 本程序利用互斥对象来实现多线程的同步,利用命名互斥对象保证应用程序只有一个实例运行.应用多线程编写网络聊天室程序。-This procedure object to the use of mutually exclusive multi-thread synchronization, using named mutex object to ensure that there is only one example of the application running. The applicati
HttpDownload
- http多线程下载的例子,支持断点续传,进过测试可用,学习线程编程和网络编程比较好的例子-http example of multi-threaded downloads and support HTTP, enter the test can be used to learn programming and network programming thread better example
epollExample.txt
- 一个简短的epoll服务器示例, 监听5000个端口, 使用线程池 运行这个程序需要预先设置栈内存和文件描述符上限, 否则运行失败-A brief example of epoll server, monitor port 5000, use the thread pool to run this program requires a pre-set upper limit of the stack memory and file descr iptor, otherwis
use_jsp_bar
- 这是一个学习线程的非常棒的例子。TaskBean类是我们自己的任务,计算1+2+...+100,它实现了Runnable, Serializable 接口,可以作为线程和bean运行。 start.jsp页面负责构造bean和线程对象,并启动线程实行任务然后转到status.jsp显示进度条。 stop.jsp停止任务。 - This is a great learning thread example. TaskBean is our own task,
create-thread
- 用MFC实现进程的创建,这个是学习简单的线程创建的不可多得的好例子-Created with the MFC implementation process, this is the thread that created a simple to learn a good example of rare
TCPserver
- windows下TCP服务器开发代码示例,包含各种服务器模型,迭代并发等,还有线程同步的示例-development of the TCP windows server code example, contains a variety of server model, iteration concurrency, there are examples of thread synchronization
perl_thread
- perl语言多线程示例thread perl_thread.pl-perl thread example code
klt
- Kernel level thread example