Reputation: 3972
How do I increase the buffer size in Server/Client constructor in Kryonet?
Upvotes: 4
Views: 2697
Reputation: 1008
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.
Upvotes: 8