搜索资源列表
epoll多线程
- Lock.cpp : 锁的操作 , 读锁可以并发 , 写锁独占. Queue.h : 队列的封装 , 队列的读和写都加了锁的保护. Socket.cpp : 套接口的简单封装. Thread.cpp : 线程的封装实现了些简单的线程停止,运行等功能 , 启动别的线程的时候需要继承次类. Worker.cpp : 用户接口类 , 用户需继承此类。 ListenThread.cpp(继承Thread.cpp) : 服务器监听线程.如果有客户端连接通知Thre
服务器线程池编程
- 关于服务器线程池处理的编程
ThreadPool_final.rar
- 此代码作为Server,使用TCP Socket编程技术,利用多线程并发,并且使用了线程池技术,修改宏定义可以实现任意路client并发连接到此服务器,This code as a Server, using TCP Socket programming using concurrent multi-threaded, and uses the thread pool technology, to amend the definition of macros can be complicated
VC-game-code.rar
- 一本关于C++服务器/客户端网络编程的书的源代码,很有价值,尤其是服务端包含IOCP,线程池,学习者大大的福音,A book on C++ server/client network programming book' s source code, great value, especially in the service-side with IOCP, thread pool, learners greatly Gospel
DBIOCP(v1.0.0.2)
- IOCP服务器 内存池、线程池 性能不错-IOCP server memory pool, thread pool performance good
java-TCP
- 1.实现一个采用用户自定义协议的文件传输服务器FileServer和客户FileClient。 2. 编写一服务器程序和客户程序,要求客户每输入一行数据,服务器接收后加上echo:回送给客户程序,要求服务器程序采用多线程方式和线程池为每个客户分配一个线程。-1. The realization of a use of user-defined file transfer protocol server FileServer and customer FileClient. 2. Write
IOCPNet
- 一个采用完成端口开发的服务器,采用线程池,预定义池大小,可以高效的处理客户端连接- 一个采用完成端口开发的服务器,采用线程池,预定义池大小,可以高效的处理客户端连接
SocketServer
- 利用线程池来进行多线程的客户端/服务器的Socket编程 编译出来的SocketServer.exe为服务器端,客户端的话,只需在当前文件夹的dos窗口中运行运行 SocketServer.exe /client即可-Full Multi-thread Client/Server Socket Class with ThreadPool
wangluobianchengshiyan(4)
- 1.实现一个采用用户自定义协议的文件传输服务器FileServer和客户FileClient。当FileClient发送请求“GET xxx.xxx”时,FileServer就把xxx.xxx文件发送给FileClient,FileClient把该文件保存到客户端的本地文件系统中,当FileClient发送请求“PUT xxx.xxx”时,FileServer就做好接收xxx.xxx文件的准备,FileClient接着发送xxx.xxx文件的内容,FileServer把接收到的文件内容保存到服务
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.
threadpool
- 线程池的C语言实现,主要用于服务器处理多任务-Thread Pool implementation of the C language, mainly used in server handle multi-tasking
myServer
- java socket编程,类似tomcat功能,支持线程池,并行,以及访问服务器下的html文件-java socket programming, tomcat similar functionality, support for the thread pool, in parallel, as well as access the server under the html file
MyLinuxThread5-25[1].tar
- LINUX 线程池源代码:Lock.cpp : 锁的操作 , 读锁可以并发 , 写锁独占. Queue.h : 队列的封装 , 队列的读和写都加了锁的保护. Socket.cpp : 套接口的简单封装. Thread.cpp : 线程的封装实现了些简单的线程停止,运行等功能 , 启动别的线程的时候需要继承次类. Worker.cpp : 用户接口类 , 用户需继承此类。 ListenThread.cpp(继承Thread.cpp) : 服务器监听线程.如果有客户端连接通知Th
StateServer
- 该源码用VC6.0开发,实现了一个状态服务器(State server),其中的 读写锁,线程池机制,完成端口机制具有很好的参考价值。-The source code with VC6.0 development, to achieve a state of the server (State server), which read and write locks, the thread pool mechanism, the completion port mechanism has a
MultiThreadServer
- 使用TCP/IP协议写的一个服务器端应用程序,使用线程池技术,实施对端口进行监听。-Using the TCP/IP protocol write a server-side application, using the thread pool technology to monitor the implementation of the port.
C10K
- Lock.cpp : 锁的操作 , 读锁可以并发 , 写锁独占. Queue.h : 队列的封装 , 队列的读和写都加了锁的保护. Socket.cpp : 套接口的简单封装. Thread.cpp : 线程的封装实现了些简单的线程停止,运行等功能 , 启动别的线程的时候需要继承次类. Worker.cpp : 用户接口类 , 用户需继承此类。 ListenThread.cpp(继承Thread.cpp) : 服务器监听线程.如果有客户端连接通知ThreadPool类,由Th
GSocket0.85_IOCP_Socket_Server
- 一个非常完整的iocp做的服务器,使用线程池,内存池实现。-A very complete iocp do server, using a thread pool, the memory pool implementation.
简单的HTTP服务器(bubble httpd)
- 本科网络编程作业 简单的HTTP服务器,使用epoll,线程池技术。采用分阶段多线程事件驱动模型。在Linux使用C语言实现。 本代码只适用于Linux平台。README尚未完善。 下载代码后直接用root执行all.bash success后可以使用(默认安装到/usr/local/bubble下) bubble start/stop/restart控制服务启停 配置文件为bubble/etc/bubble.conf 有以为或建议请致信README中的Email
WinSock2
- 一直很烦恼delphi附带的socket控件都不能满足我的设计逻辑需要,无奈只好自己动手封装了API,并且得到实践的证明(至少有两个服务器能稳定运行至今),本socket组件的多线程机制是安全的稳定的。 在服务器端,创建线程池,对于每个客户连接对应一个独立的线程类,可以在线程内处理客户数据,并可以线程间采用同步机制交换数据,为通讯服务器的建立提供了技术实现的基础。 U版本的经过了缺陷优化,虽然仅是经过了测试也还没有得到实践运行,但从以往成熟的结构演变而来的,问题应
线程池的http服务器
- linux下线程池的http服务器 涉及信号 io 进程 线程 进程间通信