文件名称:一个对Winsock 完成端口模型封装的类
- 所属分类:
- Internet/网络编程
- 资源属性:
- [C/C++] [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 43kb
- 下载次数:
- 0次
- 提 供 者:
- 王*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
在WINDOWS下进行网络服务端程序开发,毫无疑问,Winsock 完成端口模型是最高效的。Winsock的完成端口模型借助Widnows的重叠IO和完成端口来实现,完成端口模型懂了之后是比较简单的,但是要想掌握Winsock完成端口模型,需要对WINDOWS下的线程、线程同步,Winsock API以及WINDOWS IO机制有一定的了解。如果不了解,推荐几本书:《Inside Windows 2000,《WINDOWS核心编程》,《WIN32多线程程序设计》、《WINDOWS网络编程技术》。在去年,我在C语言下用完成端口模型写了一个WEBSERVER,前些天,我决定用C++重写这个WEBSERVER,给这个WEBSERVER增加了一些功能,并改进完成端口操作方法,比如采用AcceptEx来代替accept和使用LOOKASIDE LIST来管理内存,使得WEBSERVER的性能有了比较大的提高。 -under the Windows network server program development, no doubt, Winsock completed port model is the most efficient. Winsock port model with complete preview of overlap and complete port IO to achieve complete port after the model to understand is a relatively simple, but want to know the complete Winsock port model, the need for the Windows threads, thread synchronization, Winsock API and Windows IO mechanism of a certain understanding. If we do not understand, recommended several books : "Inside Windows 2000," Windows core programming "," WIN32 multithreaded programming "," WINDOWS network programming technology. " Last year, I used C language under complete port model was a WEBSERVER, few days ago, I decided to rewrite the C WEBSERVER to the WEBSERVER i
(系统自动生成,下载前可以参看下载内容)
下载文件列表
class
.....\class
.....\.....\Iomodel.cpp
.....\.....\Iomodel.h
.....\demo
.....\....\flyserver.cpp
.....\....\FlyServer.dsp
.....\....\FlyServer.dsw
.....\....\FlyServer.ncb
.....\....\FlyServer.opt
.....\....\FlyServer.plg
.....\....\FlyServer.positions
.....\....\httpserver.cpp
.....\....\httpserver.h
.....\....\Iomodel.cpp
.....\....\Iomodel.h
.....\class
.....\.....\Iomodel.cpp
.....\.....\Iomodel.h
.....\demo
.....\....\flyserver.cpp
.....\....\FlyServer.dsp
.....\....\FlyServer.dsw
.....\....\FlyServer.ncb
.....\....\FlyServer.opt
.....\....\FlyServer.plg
.....\....\FlyServer.positions
.....\....\httpserver.cpp
.....\....\httpserver.h
.....\....\Iomodel.cpp
.....\....\Iomodel.h