java - 关于Netty接收数据的问题?
PHP中文网
PHP中文网 2017-04-18 09:38:05
0
2
474
PHP中文网
PHP中文网

认证高级PHP讲师

reply all(2)
伊谢尔伦

Client code
finally {
Thread.sleep(1000);

        group.shutdownGracefully();
    }

Try writing like this. To put it simply, the work has been put into the thread, but the processing takes time, but you shut down gracefully before you have finished processing it. How does the server receive it

左手右手慢动作

Try setting TCL_NODELAY when creating a new server

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!