SSocket

所属分类:网络编程
开发工具:Visual C++
文件大小:82KB
下载次数:434
上传日期:2011-01-21 18:49:33
上 传 者sToa
说明:  封装一个TCP服务端(IOCP)与客户端 本代码服务端引用了http://www.codeproject.com/KB/IP/IOCP_how_to_cook.aspx中的代码,并作了少量修改,在这里对原作者表示感谢。。 功能描述: * 封装了心跳机制 * 封装了一层应用层协议,支持压缩传输 * Client端封装了掉线重连机制 示例代码演示了文件传输并输出传输速度
(The server-side code references http://www.codeproject.com/KB/IP/IOCP_how_to_cook.aspx code, and made a few changes here, thanks to the original author. . Function Description:** package encapsulates the heartbeat of the application layer protocol layer to support the transfer* Client-side compression dropped reconciliation mechanism encapsulates the sample code demonstrates file transfer and output speeds)

文件列表:
CommLib\zlib.lib (81534, 2009-05-12)
Test\TestTcpClient\MyTcpClient.cpp (1029, 2009-08-11)
Test\TestTcpClient\MyTcpClient.h (681, 2009-08-11)
Test\TestTcpClient\StdAfx.cpp (300, 2009-08-11)
Test\TestTcpClient\StdAfx.h (769, 2009-08-11)
Test\TestTcpClient\TestTcpClient.cpp (393, 2009-08-11)
Test\TestTcpClient\TestTcpClient.dsp (5221, 2009-08-11)
Test\TestTcpClient\TestTcpClient.dsw (549, 2009-08-11)
Test\TestTcpClient\TestTcpClient.ncb (58368, 2009-08-11)
Test\TestTcpClient\TestTcpClient.opt (49664, 2009-08-11)
Test\TestTcpClient\TestTcpClient.plg (1731, 2009-08-11)
Test\TestTcpServer\MyTcpServer.cpp (1604, 2009-08-11)
Test\TestTcpServer\MyTcpServer.h (719, 2009-08-11)
Test\TestTcpServer\StdAfx.cpp (300, 2009-08-11)
Test\TestTcpServer\StdAfx.h (769, 2009-08-11)
Test\TestTcpServer\TestTcpServer.cpp (380, 2009-08-11)
Test\TestTcpServer\TestTcpServer.dsp (5199, 2009-08-11)
Test\TestTcpServer\TestTcpServer.plg (260, 2009-08-11)
CommInc\SSocket\FTcpClient.cpp (2839, 2009-08-11)
CommInc\SSocket\FTcpClient.h (1179, 2009-08-11)
CommInc\SSocket\FTcpServer.cpp (3085, 2009-08-11)
CommInc\SSocket\FTcpServer.h (1411, 2009-08-11)
CommInc\SSocket\iocp.h (5273, 2009-08-11)
CommInc\SSocket\log.h (1876, 2007-09-04)
CommInc\SSocket\mem_manager.h (3517, 2009-08-11)
CommInc\SSocket\server_service.h (16795, 2009-08-11)
CommInc\SSocket\socket_client.h (5910, 2009-08-11)
CommInc\SSocket\socket_server.h (4005, 2009-08-11)
CommInc\SSocket\STcpClient.cpp (3742, 2009-08-11)
CommInc\SSocket\STcpClient.h (1809, 2009-08-11)
CommInc\SSocket\STcpServer.cpp (3028, 2009-08-11)
CommInc\SSocket\STcpServer.h (4588, 2009-08-11)
CommInc\SSocket\sync_simple.h (2553, 2009-08-05)
CommInc\SSocket\threading.h (8542, 2009-08-11)
CommInc\zlib\zconf.h (7810, 2009-05-12)
CommInc\zlib\zlib.h (40900, 2009-05-12)
Test\TestTcpClient (0, 2009-08-12)
Test\TestTcpServer (0, 2009-08-12)
... ...

======================================================================== CONSOLE APPLICATION : TestTcpClient ======================================================================== AppWizard has created this TestTcpClient application for you. This file contains a summary of what you will find in each of the files that make up your TestTcpClient application. TestTcpClient.dsp This file (the project file) contains information at the project level and is used to build a single project or subproject. Other users can share the project (.dsp) file, but they should export the makefiles locally. TestTcpClient.cpp This is the main application source file. ///////////////////////////////////////////////////////////////////////////// Other standard files: StdAfx.h, StdAfx.cpp These files are used to build a precompiled header (PCH) file named TestTcpClient.pch and a precompiled types file named StdAfx.obj. ///////////////////////////////////////////////////////////////////////////// Other notes: AppWizard uses "TODO:" to indicate parts of the source code you should add to or customize. /////////////////////////////////////////////////////////////////////////////

近期下载者

相关文件


收藏者