Introduction - If you have any usage issues, please Google them yourself
UDP secure transmission (complete source)
1. Automatic subcontracting package
2. Support the one-time delivery of any size package
3. Support security control
4. Control the packet speed dynamically based on the packet loss rate and the network speed (the function is not implemented well due to the limitation of time).
5. Transparent interfaces for users (developers who don't care about implementation details can use this class as easily as other UDP controls)
The simple explanation of the interface is that it is easy to use this class
Use a method when you want to send a large packet or a secure packet
SafeSendBuff
You:)
Of course, the recipient must use this class (that is, the server. Because I need to automate the subcontracting, package, resend, etc.
This event is triggered when the data is received by the event member OnDataCase
For specific use, see the demo
Democlient.exe is the receiving form
Demoserver.exe to send the form
It takes 3 seconds to send 202575 bytes
Packet : 45666015udp_connections.rar filelist
200662910411619\Server\DemoServer.cfg
200662910411619\Server\Unit1.dfm
200662910411619\Server\DemoServer.dpr
200662910411619\Server\Unit1.pas
200662910411619\Server\DemoServer.res
200662910411619\Client\DemoClient.cfg
200662910411619\Client\Unit1.dfm
200662910411619\Client\DemoClient.dpr
200662910411619\Client\DemoClient.exe
200662910411619\Client\Unit1.pas
200662910411619\Client\DemoClient.res
200662910411619\DemoClient.exe
200662910411619\DemoServer.exe
200662910411619\Public\Consts.pas
200662910411619\Public\NMUDP.pas
200662910411619\Public\PMyBaseDebug.pas
200662910411619\Public\untfunctions.pas
200662910411619\Public\UntProctol.pas
200662910411619\Public\UntUdpCtl.pas
200662910411619\ReadMe.txt
200662910411619\Server
200662910411619\Client
200662910411619\Public
200662910411619