Netty项目使用经验总结(二)

目录

 3.服务器内存溢出问题

5.服务器异常捕获

6.Netty使用ProtoBuf


 3.服务器内存溢出问题

关于Netty服务器端接收消息,因为最底层入口是从这个函数:

channelRead0(ChannelHandlerContext ctx, String msg)

来接收客户端消息的(从NettyServer代码也能看出来)

客户端每

猜你喜欢

转载自blog.csdn.net/Stephanie_1/article/details/123236563