Welcome![Sign In][Sign Up]
Location:
Search - socket thread pool

Search list

[WinSock-NDISSocketProgrammingThreadPool

Description: socket & thread pool实例
Platform: | Size: 12705 | Author: wing | Hits:

[Internet-NetworkNetLibrary

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:

[Internet-Network端口扫描检测程序

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:

[Windows Developsf_200562516252

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:

[Internet-NetworkBTDemo

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:

[Linux-Unixnet_oss

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:

[Internet-NetworktestThreadPool

Description: 线程池,和socket的绑定及数据处理的 入门结构-thread pool, and the socket and data bundled with the portal structure
Platform: | Size: 8192 | Author: 加文 | Hits:

[Other systemsAnother_eYes_BTDemo

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协议文档-achieved by delphi bt download procedures for example, with all source code and BT agreement package documents : BTDemo.dpr, BTDemoF.pas. BTDemoF.dfm-- a simple device bt download, support a number. torrent download documents btutils.pas-- bt core components of DCP*. pas-- SHA algorithm source code (copy from the DEC kits) InetUtils.pas-- provide 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 bject cohort FastShareMem.pas, MemPools.pas. ShareGlobals.inc-- from the internal use of Bit ThreadTimer Tor 366 Specification.htm-- BT agreement document
Platform: | Size: 98304 | Author: 李顺 | Hits:

[CommunicationSocket

Description: 一个用线程池的Socket 可以 自定义 线程个数-A thread pool using the Socket can customize the number of threads
Platform: | Size: 5120 | Author: 李志鹏 | Hits:

[Internet-NetworkSocketProgrammingThreadPool

Description: socket & thread pool实例-socket
Platform: | Size: 12288 | Author: wing | Hits:

[Internet-Network189745socket+pool

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:

[Linux-UnixMyLinuxThread5-25[1].tar

Description: LINUX 线程池源代码:Lock.cpp : 锁的操作 , 读锁可以并发 , 写锁独占. Queue.h : 队列的封装 , 队列的读和写都加了锁的保护. Socket.cpp : 套接口的简单封装. Thread.cpp : 线程的封装实现了些简单的线程停止,运行等功能 , 启动别的线程的时候需要继承次类. Worker.cpp : 用户接口类 , 用户需继承此类。 ListenThread.cpp(继承Thread.cpp) : 服务器监听线程.如果有客户端连接通知ThreadPool类,由ThreadPool类进行任务分派. TaskThread.cpp(继承Thread.cpp) : 具体任务类,负责接受客户端发送数据. ThreadPool.cpp (继承Thread.cpp) : 线程池类负责启动别的线程 , 并且进行线程调度。首先启动ListenThread.cpp类,如果有客户端 连接ListenThread.cpp类发送信号通知ThreadPool.cpp类,收到信号再分配给TaskThread.cpp类,进行处理。如果没有空闲任务类,动态再-LINUX source code of the thread pool
Platform: | Size: 10240 | Author: wsd | Hits:

[Internet-NetworkWuyi

Description: 自己收集的许多工具类:socket读写线程池,存储超时对象的对象池,MD5类,字符串处理类,时间字符串转换类等等。-socket thread pool
Platform: | Size: 79872 | Author: wuyi | Hits:

[TCP/IP stackThreadPool_final

Description: 此代码作为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 by the arbitrary way to connect to this server client
Platform: | Size: 4553728 | Author: xuzhisheng | Hits:

[Linux-Unixrealmsg-4

Description: 本人写的实现类似于MSN的即时通信软件,基于linux socket编程,有完整的客户端,服务器端代码 实现好友管理,线程池,文件传输,简单音频传输等功能,经过修改可用于嵌入式环境-I write to achieve similar to the MSN instant messaging software, based on linux socket programming, a complete client, server-side code to achieve the friends management, thread pool, file transfer, simple features such as audio transmission
Platform: | Size: 3944448 | Author: xc | Hits:

[Internet-NetworkSocket

Description: Linux 之下实现的使用线程池的 socket 优秀例子-Under the use of Linux to achieve excellent example of socket thread pool
Platform: | Size: 442368 | Author: | Hits:

[Communication-Mobilesocket

Description: 单线程并发服务器(select) 编程. errexit()和passiveTCP()两个方法见"linux socket通信示例(传送文件)"文章-common implementation of thread pool logic for httpd and config.
Platform: | Size: 1024 | Author: allen | Hits:

[Internet-Networksocket

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:

[Internet-Networklinux_threadpool

Description: linux网络编程的一些技巧,包括socket,thread pool, select,epoll等-linux network programming some of the techniques, including socket select, epoll, etc.
Platform: | Size: 4096 | Author: sy | Hits:

[Internet-Networkthread-pool

Description: 主要是讲线程池的使用,也是基于SOCKET 的客户端和服务端的网络编程。-Stresses the use of thread pool is also based on the SOCKET client and server network programming.
Platform: | Size: 2675712 | Author: yewenjie | Hits:
« 12 3 4 »

CodeBus www.codebus.net