文件名称:Completion_Ports
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 148kb
- 下载次数:
- 0次
- 提 供 者:
- 高*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
当你开发不同类型的软件,你迟早必须处理C/S的开发。对一个程序员来说,写一个通用的C/S编码是一项困难的工作。本文档提供了一份简单但是功能强大的C/S源码,可以扩展到任何类型的C/S应用程序中。这份源码使用了高级的IOCP技术,该技术可以高效的服务于多客户端。IOCP提供了解决“每个客户端占用一个线程”的瓶颈问题的办法,只使用几个处理线程,异步输入/输出来发送/接收。IOCP技术被广泛应用在各种类型的高效服务端,例如Apache等。这份源码也提供了一系列的在处理通信和C/S软件中经常使用的功能,如文件接收/传送功能和逻辑线程池管理。本文重点在于出现在IOCP程序API中实用的解决方案,以及关于源码的全面的文档。另外,一份简单的echo版的可处理多连接和文件传输的C/S程序也在这里提供。
-When you develop different types of software, sooner or later you have to deal with C/S development. Of a programmer is to write a generic C/S coding is a difficult job. This document provides a simple but powerful C/S source code, can be extended to any type of C/S application. This source code uses the advanced IOCP technology, which can efficiently serve many clients. IOCP provides a solution "for each client thread occupying a" bottleneck problem, use only a few deal with threads, asynchronous I/O to send/receive. IOCP technology has been widely used in various types of efficient client services, such as Apache and so on. This source also provided a series of communications and in dealing with C/S software frequently used functions, such as file receiving/sending functions and logic thread pool management. This article focuses on IOCP procedures appear in the API in practical solutions, as well as a comprehensive source about the document. In addition, a simple vers
-When you develop different types of software, sooner or later you have to deal with C/S development. Of a programmer is to write a generic C/S coding is a difficult job. This document provides a simple but powerful C/S source code, can be extended to any type of C/S application. This source code uses the advanced IOCP technology, which can efficiently serve many clients. IOCP provides a solution "for each client thread occupying a" bottleneck problem, use only a few deal with threads, asynchronous I/O to send/receive. IOCP technology has been widely used in various types of efficient client services, such as Apache and so on. This source also provided a series of communications and in dealing with C/S software frequently used functions, such as file receiving/sending functions and logic thread pool management. This article focuses on IOCP procedures appear in the API in practical solutions, as well as a comprehensive source about the document. In addition, a simple vers
(系统自动生成,下载前可以参看下载内容)
下载文件列表
完成端口
........\Client_IOCP
........\...........\HistoryEdit.cpp
........\...........\HistoryEdit.h
........\...........\IOCPBuffer.cpp
........\...........\IOCPBuffer.h
........\...........\IOCPClient.clw
........\...........\IOCPClient.cpp
........\...........\IOCPClient.dsp
........\...........\IOCPClient.h
........\...........\IOCPClient.plg
........\...........\IOCPClient.rc
........\...........\IOCPClient.vcproj
........\...........\IOCPClientDlg.cpp
........\...........\IOCPClientDlg.h
........\...........\IOCPS.cpp
........\...........\IOCPS.cpp.old
........\...........\IOCPS.h
........\...........\IOCPSettingsDlg.cpp
........\...........\IOCPSettingsDlg.h
........\...........\MyIOCP.cpp
........\...........\MyIOCP.h
........\...........\MyListCtrl.cpp
........\...........\MyListCtrl.h
........\...........\ReadMe.txt
........\...........\res
........\...........\...\header.bmp
........\...........\...\IOCPClient.rc2
........\...........\resource.h
........\...........\StdAfx.cpp
........\...........\StdAfx.h
........\HistoryEdit.cpp
........\HistoryEdit.h
........\IOCP.cpp
........\IOCP.dsp
........\IOCP.dsw
........\IOCP.h
........\IOCP.plg
........\IOCP.rc
........\IOCP.sln
........\IOCP.vcproj
........\IOCPBuffer.cpp
........\IOCPBuffer.h
........\IOCPDlg.cpp
........\IOCPDlg.h
........\IOCPS.cpp
........\IOCPS.h
........\IOCPSettingsDlg.cpp
........\IOCPSettingsDlg.h
........\MyIOCP.cpp
........\MyIOCP.h
........\MyListCtrl.cpp
........\MyListCtrl.h
........\removejunk.bat
........\res
........\...\header.bmp
........\...\IOCP.rc2
........\res3
........\....\IOCP.rc2
........\resource.h
........\StdAfx.cpp
........\StdAfx.h
........\Client_IOCP
........\...........\HistoryEdit.cpp
........\...........\HistoryEdit.h
........\...........\IOCPBuffer.cpp
........\...........\IOCPBuffer.h
........\...........\IOCPClient.clw
........\...........\IOCPClient.cpp
........\...........\IOCPClient.dsp
........\...........\IOCPClient.h
........\...........\IOCPClient.plg
........\...........\IOCPClient.rc
........\...........\IOCPClient.vcproj
........\...........\IOCPClientDlg.cpp
........\...........\IOCPClientDlg.h
........\...........\IOCPS.cpp
........\...........\IOCPS.cpp.old
........\...........\IOCPS.h
........\...........\IOCPSettingsDlg.cpp
........\...........\IOCPSettingsDlg.h
........\...........\MyIOCP.cpp
........\...........\MyIOCP.h
........\...........\MyListCtrl.cpp
........\...........\MyListCtrl.h
........\...........\ReadMe.txt
........\...........\res
........\...........\...\header.bmp
........\...........\...\IOCPClient.rc2
........\...........\resource.h
........\...........\StdAfx.cpp
........\...........\StdAfx.h
........\HistoryEdit.cpp
........\HistoryEdit.h
........\IOCP.cpp
........\IOCP.dsp
........\IOCP.dsw
........\IOCP.h
........\IOCP.plg
........\IOCP.rc
........\IOCP.sln
........\IOCP.vcproj
........\IOCPBuffer.cpp
........\IOCPBuffer.h
........\IOCPDlg.cpp
........\IOCPDlg.h
........\IOCPS.cpp
........\IOCPS.h
........\IOCPSettingsDlg.cpp
........\IOCPSettingsDlg.h
........\MyIOCP.cpp
........\MyIOCP.h
........\MyListCtrl.cpp
........\MyListCtrl.h
........\removejunk.bat
........\res
........\...\header.bmp
........\...\IOCP.rc2
........\res3
........\....\IOCP.rc2
........\resource.h
........\StdAfx.cpp
........\StdAfx.h