Description: Beginners IOCP (windows completion port) programming encountered many problems and setbacks, but also many other people online to find the code, but these codes are either unstable or difficult to use, so I decided to do it myself. Search MSDN N times in the relevant sections, with several major changes in the source code, and numerous debugging, finally have a stable and efficient now that the IOCP code, I became a Delphi control of its package, it is also more convenient to use . Now all of the code I posted without reservation, hoping to learn some IOCP programming are 0 friends help.
File list (Check if you may need any files):
201052011339284\201052011339284\dzdiocpnew\bpl\【源码说明】.txt
...............\...............\..........\...\源码天空.htm
...............\...............\..........\demo\bin\debug\UDPEchoServer.exe
...............\...............\..........\....\...\.....\【源码说明】.txt
...............\...............\..........\....\...\.....\源码天空.htm
...............\...............\..........\....\...\release\【源码说明】.txt
...............\...............\..........\....\...\.......\源码天空.htm
...............\...............\..........\....\...\【源码说明】.txt
...............\...............\..........\....\...\源码天空.htm
...............\...............\..........\....\TCPClient\CMainForm.dfm
...............\...............\..........\....\.........\CMainForm.pas
...............\...............\..........\....\.........\IocpClient.dpr
...............\...............\..........\....\.........\IocpClient.dproj
...............\...............\..........\....\.........\IocpClient.dproj.local
...............\...............\..........\....\.........\IocpClient.identcache
...............\...............\..........\....\.........\IocpClient.res
...............\...............\..........\....\.........\【源码说明】.txt
...............\...............\..........\....\.........\源码天空.htm
...............\...............\..........\....\...EchoServer\dzimProtocol.pas
...............\...............\..........\....\.............\IocpEchoServer.dpr
...............\...............\..........\....\.............\IocpEchoServer.dproj
...............\...............\..........\....\.............\IocpEchoServer.dproj.local
...............\...............\..........\....\.............\IocpEchoServer.identcache
...............\...............\..........\....\.............\IocpEchoServer.opt
...............\...............\..........\....\.............\IocpEchoServer.res
...............\...............\..........\....\.............\SMainForm.ddp
...............\...............\..........\....\.............\SMainForm.dfm
...............\...............\..........\....\.............\SMainForm.pas
...............\...............\..........\....\UDPEchoServer\debug\FastMM4.dcu
...............\...............\..........\....\.............\.....\FastMM4Messages.dcu
...............\...............\..........\....\.............\.....\uMainFrm.dcu
...............\...............\..........\....\.............\UDPEchoServer.dpr
...............\...............\..........\....\.............\UDPEchoServer.dproj
...............\...............\..........\....\.............\UDPEchoServer.res
...............\...............\..........\....\.............\uMainFrm.dfm
...............\...............\..........\....\.............\uMainFrm.pas
...............\...............\..........\....\【源码说明】.txt
...............\...............\..........\....\源码天空.htm
...............\...............\..........\dzdiocp.groupproj
...............\...............\..........\lib\dzdiocp.dcp
...............\...............\..........\...\dzdiocp.dcu
...............\...............\..........\...\dzIocpGlobal.dcu
...............\...............\..........\...\dzIocpSocket.dcu
...............\...............\..........\...\dzMemoryPool.dcu
...............\...............\..........\...\dzSequenceList.dcu
...............\...............\..........\...\dzSocketUtils.dcu
...............\...............\..........\...\dzTrace.dcu
...............\...............\..........\...\dzWinThread.dcu
...............\...............\..........\...\JwaMSWSock.dcu
...............\...............\..........\...\JwaQos.dcu
...............\...............\..........\...\JwaWinsock2.dcu
...............\...............\..........\...\JwaWS2tcpip.dcu
...............\...............\..........\...\【源码说明】.txt
...............\...............\..........\...\源码天空.htm
...............\...............\..........\source\build.bat
...............\...............\..........\......\dzdiocp.bpl
...............\...............\..........\......\dzdiocp.dpk
...............\...............\.......