如何在 Kryonet 的服务器/客户端构造函数中增加缓冲区大小?
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.