Welcome![Sign In][Sign Up]
Location:
Search - IOCP

Search list

[OtherUnBufCpy

Description: 经典的IOCP文件读写代码-classic IOCP document literacy code
Platform: | Size: 15360 | Author: 哈哈 | Hits:

[Internet-NetworkIOCP完成端口模型示例代码

Description: 采用完成端口进行sockets操作。 由浅入深的解释、详细的分析、以及编码步骤,另外附上带有详细注释的源码(为了照顾大多数朋友,我提供的都是MFC的源码)。-completed using sockets for port operations. Elementary explanation, detailed analysis, and coding steps, the other with detailed explanatory note attached to the source code (in order to take care of most friends, and I are all for the MFC source).
Platform: | Size: 20480 | 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-NetworkIocpServerTest

Description: 一个封装好的IOCP模型,采用完成端口进行sockets操作,有测试代码-a good IOCP model, complete sockets for port operation, testing code
Platform: | Size: 55296 | Author: 王征 | Hits:

[Internet-NetworkIocpClientTest

Description: 封装好的IOCP客户端,采用完成端口进行sockets操作,有测试代码-Packaging good IOCP clients, using sockets for complete port operation, testing code
Platform: | Size: 56320 | Author: 王征 | Hits:

[Internet-Network108echo

Description: ECHO的IOCP例子,希望对想学IOCP的朋友有帮助-ECHO example, and I hope to learn IOCP to help a friend
Platform: | Size: 37888 | Author: 肖双全 | Hits:

[Windows Develop20050829152443_CompletionPortDemo

Description: 修改了的IOCP例子,修改了的IOCP例子-revising the IOCP example, revising the IOCP example
Platform: | Size: 188416 | Author: 海天 | Hits:

[Internet-Networknet_Iocp_src

Description: 用完成端口IOCP实现的服务端引擎和多线程客户端引擎。-using the server engine of finishing the IOCP port realization and the client engine of multithreading.
Platform: | Size: 13312 | Author: shizhen | Hits:

[Internet-NetworkIOCPmodule

Description: 5大IO模型之三:iocp模型,介绍iocp模型的一般编程流程。-five large IO model three : It model It introduced the general programming model process.
Platform: | Size: 26624 | Author: 大东 | Hits:

[Internet-Network对完成端口模型进行封装

Description: VC建高性能服务器,用完成端口模型是最高效的,而完成端口比较难理解,因此对它进行封装对初学者来说是个福音,本源码基于此背景,对IOCP进行封装,利于大家直接调用--本人发源码的原则是:不经典不发!-VC build high-performance servers, complete with port model is the most efficient, and more difficult to understand completed port, it is packaged for beginners is a blessing, the source based on this background, the IOCP for Packaging, which will help you direct call-- I-fat source of principle : not classic non-fat!
Platform: | Size: 80896 | Author: 小蔡 | Hits:

[Education soft systemiocp_server

Description: 利用完成端口(IOCP)实现的网络在线考试系统的服务器程序。-use complete port (IOCP) with a network of online examination system server.
Platform: | Size: 56320 | Author: navy | Hits:

[Education soft systemiocp_client

Description: 利用完成端口(IOCP)实现的在线网络考试系统的客户端程序。-use complete port (IOCP) to achieve the online network test system client.
Platform: | Size: 27648 | Author: navy | Hits:

[Internet-NetworkIOCP_using_WinSock

Description: 用winsock实现IOCP(完成端口)的演示.使用非常简单的代码,让读者更容易理解IOCP的使用-with winsock achieve IOCP (complete port) demonstration. Using very simple code to allow readers to more easily understand the use of IOCP
Platform: | Size: 232448 | Author: 夏佳 | Hits:

[Internet-NetworkA_simple_IOCP_ServerClient_Class

Description: 要求读者已经熟悉cpp,winsock,mfc和多线程. 简单而能大的server/client程序演示iocp的使用-asked readers already familiar with cpp, winsock, mfc and multithreading. Simple and can be large server/client procedures for the use of demonstration It
Platform: | Size: 178176 | Author: 夏佳 | Hits:

[Communicationiocpsys

Description: 用IOCP做的通讯类, 用IOCP做的通讯类,-IOCP do with the communications category, IOCP do with the communications category,
Platform: | Size: 9216 | Author: 董柏林 | Hits:

[ADO-ODBCIOCPNet_Src

Description: 一套优秀的IOCP类(包含例子),推荐-a good IOCP category (including examples), recommended!
Platform: | Size: 27648 | Author: 快乐 | Hits:

[Internet-NetworkCompletionIo

Description: 用于大型服务器地完成端口鱼线程池的结合IOCP+threadpool-for large server port to be completed fish pond threaded coupling IOCP threadpool
Platform: | Size: 24576 | Author: wuyanqi | Hits:

[TCP/IP stacksocket_iocp

Description: WinSocket IOCP高性能服务器-WinSocket IOCP high-performance server
Platform: | Size: 9216 | Author: zhugang | Hits:

[Delphi VCLIOCPSocketServer

Description: IOCP Socket Server控件-IOCP Socket Server Control
Platform: | Size: 25600 | Author: wb | Hits:

[TCP/IP stackIocpPool

Description: IOCP 线程池的 delphi 实现,其中 IOCPPool.pas 封装了主要的控件和池的实现,十分有参考价值-IOCP thread pool delphi realized, IOCPPool.pas Packaging, which the main pool and controls to achieve great reference value
Platform: | Size: 105472 | Author: szw | Hits:
« 1 2 3 4 5 67 8 9 10 11 ... 44 »

CodeBus www.codebus.net