Java Implementation of udt and udtjava implementation
What is the udt protocol?
I will not answer the question. I can search for it online. It has always been c ++. the java implementation has not been modified for a long time.
After testing, the java version has some problems and has been fixed and uploaded to csdn.
In addition, the package is further encapsulated based on the actual application;
Because data has been sent and the client is closed directly, the final data may not be sent again.
Therefore, it is cached for 30 seconds.
At the same time, the basic operation error is locked, and the object is not closed after use or is not used after the object is created, and object management is performed.
Therefore, you must avoid repeatedly creating connections and disabling them. This will exhaust the port and do not comply with network programming;
Another way is to encapsulate a layer by yourself and share the client at the underlying layer, so that you can constantly create objects, create connections, close them, and make full use of resources.
I will not encapsulate it;
Git will upload the file as well. My name is jud.
The source code is the modified online Code and is directly encapsulated. You need to search for the initial source code directly. My source code will be updated continuously.
Https://github.com/jinyuttt/judt.git