Description: 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
File list (Check if you may need any files):