Description: 这是一个用完成端口(IO Completion port)写的echo server,运行iocp.exe后,在控制台使用 telnet 127.0.0.1 7 就可以连接上,然后你输入什么屏幕就显示什么。-This a complete port with (IO Completion port) was the echo server, running iocp.exe after the console using telnet 127.0.0.1 7 can be connected to, then you input on what the screen shows what. Platform: |
Size: 8192 |
Author:DoItFreely |
Hits:
Description: 源码使用了高级的完成端口(IOCP)技术,该技术可以有效地服务于多客户端。代码封装了IOCP并提供了一个简单的echo版本的可以传输文件的客户端/服务器程序-Source used to complete the advanced port [IOCP] technology, which can effectively serve many clients. IOCP code encapsulates and provides a simple version of the echo can transfer files of client/server program Platform: |
Size: 149504 |
Author:mosquito |
Hits:
Description: 当你开发不同类型的软件,你迟早必须处理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 Platform: |
Size: 151552 |
Author:高军 |
Hits: