开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜