Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - iocp
Search - iocp - List
DL : 0
经典的IOCP文件读写代码-classic IOCP document literacy code
Update : 2024-05-08 Size : 15360 Publisher : 哈哈

采用完成端口进行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).
Update : 2024-05-08 Size : 20480 Publisher : 石磊

一个线程驰的类, 下面的是基本的使用方法 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.
Update : 2024-05-08 Size : 2048 Publisher : boxu

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

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

ECHO的IOCP例子,希望对想学IOCP的朋友有帮助-ECHO example, and I hope to learn IOCP to help a friend
Update : 2024-05-08 Size : 37888 Publisher : 肖双全

修改了的IOCP例子,修改了的IOCP例子-revising the IOCP example, revising the IOCP example
Update : 2024-05-08 Size : 188416 Publisher : 海天

用完成端口IOCP实现的服务端引擎和多线程客户端引擎。-using the server engine of finishing the IOCP port realization and the client engine of multithreading.
Update : 2024-05-08 Size : 13312 Publisher : shizhen

5大IO模型之三:iocp模型,介绍iocp模型的一般编程流程。-five large IO model three : It model It introduced the general programming model process.
Update : 2024-05-08 Size : 26624 Publisher : 大东

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!
Update : 2024-05-08 Size : 80896 Publisher : 小蔡

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

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

用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
Update : 2024-05-08 Size : 232448 Publisher : 夏佳

要求读者已经熟悉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
Update : 2024-05-08 Size : 178176 Publisher : 夏佳

DL : 0
用IOCP做的通讯类, 用IOCP做的通讯类,-IOCP do with the communications category, IOCP do with the communications category,
Update : 2024-05-08 Size : 9216 Publisher : 董柏林

DL : 0
一套优秀的IOCP类(包含例子),推荐-a good IOCP category (including examples), recommended!
Update : 2024-05-08 Size : 27648 Publisher : 快乐

用于大型服务器地完成端口鱼线程池的结合IOCP+threadpool-for large server port to be completed fish pond threaded coupling IOCP threadpool
Update : 2024-05-08 Size : 24576 Publisher : wuyanqi

WinSocket IOCP高性能服务器-WinSocket IOCP high-performance server
Update : 2024-05-08 Size : 9216 Publisher : zhugang

IOCP Socket Server控件-IOCP Socket Server Control
Update : 2024-05-08 Size : 25600 Publisher : wb

DL : 0
IOCP 线程池的 delphi 实现,其中 IOCPPool.pas 封装了主要的控件和池的实现,十分有参考价值-IOCP thread pool delphi realized, IOCPPool.pas Packaging, which the main pool and controls to achieve great reference value
Update : 2024-05-08 Size : 105472 Publisher : szw
« 1 2 3 4 5 67 8 9 10 11 ... 44 »
DSSZ is the largest source code store in internet!
Contact us :
1999-2046 DSSZ All Rights Reserved.