Increase buffer size in server/client in Kryonet
How do I increase the buffer size in Server/Client constructor in Kryo开发者_运维知识库net?
Pass larger values than the defaults to the overloaded constructors.
new Client()
is equivalent to new Client(8192, 2048)
new Server()
is equivalent to new Server(16384, 2048)
See the kryonet Javadocs for more details.
精彩评论