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

Search list

[Web Serverfire-webserver-conn

Description: 采用IOCP,用AcceptEx来接受连接,代码精简清晰!
Platform: | Size: 14890 | Author: wang | Hits:

[WinSock-NDIS一个对Winsock 完成端口模型封装的类

Description: 在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
Platform: | Size: 44658 | Author: 王明 | Hits:

[Internet-Network一个对Winsock 完成端口模型封装的类

Description: 在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
Platform: | Size: 44032 | Author: 王明 | Hits:

[TCP/IP stackThreadPoolServer

Description: TCP/IP 线程池IOCP模式下的封装库代码,给大家参考参考.谢谢啊.-TCP/IP mode IOCP thread pool package database code, to your information. Thank you, ah.
Platform: | Size: 144384 | Author: 杨明 | Hits:

[Web Serverfire-webserver-conn

Description: 采用IOCP,用AcceptEx来接受连接,代码精简清晰!-The use of IOCP, using AcceptEx to accept connections, the code to streamline the clear!
Platform: | Size: 14336 | Author: wang | Hits:

[OS programIOCP

Description: 收集的一些iocp端口编程学习的例程 希望能对大家有用-some sample code about iocp programing,maybe helpful to you
Platform: | Size: 637952 | Author: yl | Hits:

[Internet-NetworkIOCP_API

Description: 采用IOCP,用AcceptEx来接受连接,可以做为开发类-The use of IOCP, using AcceptEx to accept connections
Platform: | Size: 80896 | Author: Levin | Hits:

[Internet-NetworkiocpJTLV4

Description: 从上次我完成比较基本的完成端口到现在已经过去了一个月,在这个月中基本是在研究这个完成端口。经过无数的查阅,参考了不少高手的文章终于完成。 这里面用到了比较多的技术。 1。用取函数指针的方法运行ACCEPTEX函数。 2。用链表结构做成一个内存池,事实上是个CLIST链表。。。生成,取一个块,释放,放回链表 3。并没有使用线程池,因为我发现根本不能提高效率,反而降低了。从原理上分析,就应当是这样的。如果编得好,就不应当用到很多的线程。如果用到了很多线程,说明线程中的代码效率有问题。如果需要加入,这倒很简单。 4。对ACCEPT投递量做检测。如果不够再投。 最重要的,对代码做了几乎最完全的注释。 效果上我用一个网上找来的测试软件,15000个并发连接那是相当的淡定。 另外,可能是我在内存池上的代码编得不够好,在DEBUG下效果就很差,但如果用Release,效果就变得好上许多。 这是头文件。-From the last time I finished the basic completion port has been underway for a month, this month is the basic study the completion port. After countless inspection, with reference to the many expert articles finally completed. There is used a lot more technology. A. Take function pointer run ACCEPTEX function. Two. List structure made ​ ​ of a memory pool, in fact, a linked list of CLIST. . . Generation, to take a block and released back into the linked list 3. Did not use the thread pool, because I did not improve efficiency, but reduces the. In principle, analysis, should be so. If the Code is well, you should not use a lot of threads. If you use a lot of thread, the thread code efficiency. If you need to join, it would really simple. 4. ACCEPT delivery amount to do the testing. If not reinvested. Most importantly, the code to do almost the most complete comment. In effect, I got an online test software, 15000 concurrent connections it is quite calm. In addition, y
Platform: | Size: 52224 | Author: DoC. | Hits:

[TCP/IP stacktestiocp2

Description: IOCP服务器,acceptEx,内存管理,心跳-The IOCP server acceptEx, memory management, heartbeat
Platform: | Size: 692224 | Author: 罗韦刚 | Hits:

CodeBus www.codebus.net