20070426

所属分类:网络编程
开发工具:Visual C++
文件大小:46KB
下载次数:387
上传日期:2007-05-10 19:23:04
上 传 者tanglongsh
说明:  基于完成端口的TCP网络通信框架实现 工程iocp中包含了框架实现的所有代码,工程server和client是对该框架的简单测试 和应用。框架实现了基于消息的TCP网络通信,(避免了TCP的数据“粘连”问题)并进 行了封装,封装后的界面iocpapi.h非常简洁,应用程序代码只需要简单包含 iocpapi.h,就可以实现自己的网络应用.具体例子可以参考server和client代码提供 的两个类分别用于服务器端和客户端(一般来说客户端不用管理大量连接,所以有点 杀鸡用牛刀的味道,不过为了和服务器对应,应该使用该客户端,除非你自己实现 框架的消息格式)
(based on the TCP port to complete network communication Framework Project iocp contains the framework for the realization of all generation code, the server and client is the framework of a simple test and application. Framework based on the news of TCP network communication, (to the TCP data "adhesion") and the Packaging, Packaging iocpapi.h the interface is very simple, Applications need only simple code contains iocpapi.h. can realize its own network application. Specific examples can reference server and client code for the 2 categories respectively for a server and the client (the client generally do not have a large number of link management, So it cracking a nut with a sledgehammer to the taste, but for the corresponding server, you should use the client. Unless you are th)

文件列表:
iocp0.0\iocp.sln (1910, 2007-04-13)
iocp0.0\iocp.ncb (158720, 2007-04-13)
iocp0.0\iocp.suo (17408, 2007-04-13)
iocp0.0\server\server.vcproj (3474, 2007-04-12)
iocp0.0\server\main.cpp (1841, 2007-04-13)
iocp0.0\server (0, 2007-04-13)
iocp0.0\client\client.vcproj (3474, 2007-04-12)
iocp0.0\client\main.cpp (4141, 2007-04-13)
iocp0.0\client (0, 2007-04-13)
iocp0.0\iocp\iocp.vcproj (3615, 2007-04-12)
iocp0.0\iocp\iocp.cpp (12992, 2007-04-18)
iocp0.0\iocp\iocp.h (11716, 2007-04-12)
iocp0.0\iocp\main.cpp (4026, 2007-04-12)
iocp0.0\iocp\iocpapi.h (3764, 2007-04-13)
iocp0.0\iocp\iocpapi.cpp (3152, 2007-04-12)
iocp0.0\iocp\config.h (105, 2007-04-12)
iocp0.0\iocp (0, 2007-04-13)
iocp0.0\说明.txt (2506, 2007-04-13)
iocp0.0 (0, 2007-04-13)

近期下载者

相关文件


收藏者