Java – increase the server / client buffer size in kryonet
•
Java
How to increase the buffer size in the server / client constructor in kryonet?
Solution
Pass a value greater than the default value to the overloaded constructor
New client() is equivalent to new client (81922048)
The new server () is equivalent to the new server (163842048)
For details, see kryonet JavaDocs
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码