Location:
Search - socket pool
Search list
Description: 线程池+socket,非常好的服务器端源代码,可以很深入的学习线程池技术
Platform: |
Size: 13292 |
Author: 孙宇 |
Hits:
Description: socket+线程池,在unix/linux下编译.-socket threads pool, in unix / linux compiler.
Platform: |
Size: 13292 |
Author: 老王 |
Hits:
Description: 在相对复杂的情况下,进行数据库连接池开发的参考。-A reference for database connection pool in java development .
Platform: |
Size: 9216 |
Author: 李理 |
Hits:
Description: 网络socket,IO,线程池,同步,日志等等, 利用面向对象以及范性特性,为在VC下开发网络应用程序打下坚实的底层基础。-network socket, IO, thread pool, synchronization, log, etc., and the use of object-oriented Fan sexual characteristics, for the VC and development of network applications and lay a solid basis for the bottom.
Platform: |
Size: 141312 |
Author: 詹皇源 |
Hits:
Description: 提供CSocketModel类完整代码:"CSocketModel.zip" 该类是SOCKET通讯综合模型,该类完成后将包装各种SOCKET通讯模式(阻塞select,异步窗口,异步事件,重叠I/O,完成I/O)等.它可以被各种通讯程序方便采用.尤其是基于SERVER/CLIENT的SERVER程序会提高大幅度性能.如果使用人要完成特定的通讯功能可以从该类继承,增加对线程池的支持功能。-provide complete CSocketModel category code : "CSocketModel.zip" SOCKET is such integrated communications model, such completion, will repackage the mode of communication SOCKET (blocking select, asynchronous window, asynchronous events, overlapping I/O, complete I/O). It can be the species used to facilitate the communication process. based particularly SERVER/CLIENT SERVER the procedures significantly improve performance. If people use to accomplish specific communication from such succession, increasing the pool of threads support.
Platform: |
Size: 9216 |
Author: 张其 |
Hits:
Description: socket连接池编程-socket connection pool Programming
Platform: |
Size: 9216 |
Author: 佟强 |
Hits:
Description: MultiThreadSock.rar多线程套接字 threadpool.zip线程池类 Curve类及例子.rar oscilscope.rar曲线控制 UDPSender.rar发送UDP包 MultiCastReceiver.rar接收-MultiThreadSock.rar multithreading threaded socket threadpool.zip Pool Curve categories and examples. Rar oscilscope.rar curve control UDPSender.rar send UDP packet reception MultiCastReceiver.rar
Platform: |
Size: 271360 |
Author: 大圣 |
Hits:
Description: * 本程序是一个简单的端口扫描程序,使用TCP SOCKET * 依次试连接目标主机的端口,以此判断端口开放与否。 * 程序设计上使用了线程池,共100个线程。-* The procedure is a simple port scanning procedures, the use of TCP socket* followed test objectives mainframe connectivity ports in order to judge whether to open ports.* Procedures for the use of the design thread pool, a total of 100 threads.
Platform: |
Size: 1024 |
Author: 吕杰 |
Hits:
Description: 一个线程驰的类, 下面的是基本的使用方法 struct TSession { SOCKET socket int id } class myIocp:public CIOCP { public: void OnRead(void * p, char * buf, int len) void OnAccept(SOCKET socket) void OnClose(void * p) } void myIocp::OnAccept(SOCKET socket) { TSession *s = new TSession s->socket = socket //这里可以对连接的session进行自己的操作,例如给id找一个唯一的值 SetIoCompletionPort(socket, s) // 使连接socket与一个自定义结构体关联 } void myIocp::OnRead(void * p, char * buf, int len) { TSession *s = (TSession *)p send(s->socket, buf, len, 0) // 这里只是简单的把收到的消息返回给客户端 ... } void myIocp::OnClose(void * p) { delete p } myIoncp iocp main() { ... iocp.listen(4311) // 开始监听网络端口,等待客户端连接 ... }-A class for thread pool,basic usage below:
struct TSession { SOCKET socket int id } class myIocp:public CIOCP
{ public:
void OnRead(void* p, char* buf, int len)
void OnAccept(SOCKET socket)
void OnClose(void* p) }
void myIocp::OnAccept(SOCKET socket)
{ TSession*s = new TSession s->socket = socket
//here you can do something about connection session,such as find a unique id.
SetIoCompletionPort(socket, s)
// make connection socket associate with a custom structure }
void myIocp::OnRead(void* p, char* buf, int len)
{ TSession*s = (TSession*)p send(s->socket, buf, len, 0)
// return received message to client
void myIocp::OnClose(void* p) { delete p } myIoncp iocp main() { ... iocp.listen(4311)
//start listenning net port,wait for client connect.
Platform: |
Size: 2048 |
Author: boxu |
Hits:
Description: Winsocket DLL 封装,该类是SOCKET通讯综合模型,该类完成后将包装各种SOCKET通讯模式(阻塞select,异步窗口,异步事件,重叠I/O,完成I/O)等.它可以被各种通讯程序方便采用.尤其是基于SERVER/CLIENT的SERVER程序会提高大幅度性能.如果使用人要完成特定的通讯功能可以从该类继承,增加对线程池的支持功能。-Winsocket DLL package, such communication is SOCKET integrated model, such completion, will repackage the mode of communication SOCKET (blocking select, asynchronous window, asynchronous events, overlapping I/O, complete I/O). It can be convenient communications procedures used. In particular, based on SERVER/CLIENT SERVER the procedures significantly improve performance. If people use to accomplish specific communication from such succession, increasing the pool of threads support.
Platform: |
Size: 21504 |
Author: 江苏 |
Hits:
Description: 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)
SortLists.pas -- 排序的List组件
ThreadTimer.pas -- 定时器与线程池
DelayLists.pas -- 一个延时5秒再释放Object的队列
FastShareMem.pas, MemPools.pas, ShareGlobals.inc -- 由ThreadTimer内部使用
Bit Torrent Specification.htm -- BT协议文档-realized bt download procedures for example, with all source code and BT agreement package documents : BTDemo.dpr, BTDemoF.pas. BTDemoF.dfm-- a simple bt downloader, supports multiple. torrent download documents btutils.pas-- the core components bt DCP*. pas-- SHA algorithm source code (copied from the DEC kits) InetUtils.pas-- providing Internet download library SimpleSocks.pas-- socket Group pieces (TCP) SortLists.pas-- Ranking List components ThreadTime r.pas-- and the timer thread pool DelayLists.pas-- a delay the release of another five seconds O return of the queue FastShareMem.pas, MemPools.pas. ShareGlobals.inc-- ThreadTimer internal use by Tor Bit rent Specification.htm-- BT agreement document
Platform: |
Size: 58368 |
Author: vvyang |
Hits:
Description: 这是一个模拟电信计费的程序,非常详细,运用了线程池、消息队列和socket编程等技术。-This is a simulation of telecommunications billing procedures, very detailed, using the thread pool, Message Queue and socket programming technology.
Platform: |
Size: 46080 |
Author: Benson |
Hits:
Description: java实现的socket连接池,使用了apache的objectpool-java achieve the socket connection pool, the use of the apache objectpool
Platform: |
Size: 25600 |
Author: 1 |
Hits:
Description: 一个用线程池的Socket 可以 自定义 线程个数-A thread pool using the Socket can customize the number of threads
Platform: |
Size: 5120 |
Author: 李志鹏 |
Hits:
Description: socket小实验,谁有Pro*c连接池发出来学习学习,-socket small experiment, Pro* c, who issued a connection pool to learn to learn
Platform: |
Size: 1024 |
Author: liule |
Hits:
Description: 线程池+socket,非常好的服务器端源代码,可以很深入的学习线程池技术-Thread pool+ Socket, a very good server-side source code, can be very thorough study and thread pool technology
Platform: |
Size: 13312 |
Author: 孙宇 |
Hits:
Description: Linux 之下实现的使用线程池的 socket 优秀例子-Under the use of Linux to achieve excellent example of socket thread pool
Platform: |
Size: 442368 |
Author: 宋 |
Hits:
Description: 单线程并发服务器(select) 编程.
errexit()和passiveTCP()两个方法见"linux socket通信示例(传送文件)"文章-common implementation of thread pool logic for httpd and config.
Platform: |
Size: 1024 |
Author: allen |
Hits:
Description: 一个简单的socket服务器,两个独立的线程分别处理输入流和输出流,然后一个简单的线程池处理从输入流中解析出来的iso8583数据包-A simple socket server, two separate threads are processing the input and output streams, then a simple thread pool to parse from the input stream of data packets out of the iso8583
Platform: |
Size: 4096 |
Author: houxiaomeng |
Hits:
Description: IOCP的socket连接池, 解决高并发的连接问题-socket pool for IOCP, resolve the greatness intercurrent.
Platform: |
Size: 34816 |
Author: zl |
Hits: