Description: 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
File list (Check if you may need any files):
CommLib\zlib.lib
Test\TestTcpClient\MyTcpClient.cpp
....\.............\MyTcpClient.h
....\.............\ReadMe.txt
....\.............\StdAfx.cpp
....\.............\StdAfx.h
....\.............\TestTcpClient.cpp
....\.............\TestTcpClient.dsp
....\.............\TestTcpClient.dsw
....\.............\TestTcpClient.ncb
....\.............\TestTcpClient.opt
....\.............\TestTcpClient.plg
....\.......Server\MyTcpServer.cpp
....\.............\MyTcpServer.h
....\.............\ReadMe.txt
....\.............\StdAfx.cpp
....\.............\StdAfx.h
....\.............\TestTcpServer.cpp
....\.............\TestTcpServer.dsp
....\.............\TestTcpServer.plg
CommInc\SSocket\FTcpClient.cpp
.......\.......\FTcpClient.h
.......\.......\FTcpServer.cpp
.......\.......\FTcpServer.h
.......\.......\iocp.h
.......\.......\log.h
.......\.......\mem_manager.h
.......\.......\server_service.h
.......\.......\socket_client.h
.......\.......\socket_server.h
.......\.......\STcpClient.cpp
.......\.......\STcpClient.h
.......\.......\STcpServer.cpp
.......\.......\STcpServer.h
.......\.......\sync_simple.h
.......\.......\threading.h
.......\zlib\zconf.h
.......\....\zlib.h
Test\TestTcpClient
....\TestTcpServer
CommInc\SSocket
.......\zlib
CommLib
Test
CommInc