参考这个 https://github.com/caozhiyuan/DotNetty 转载于:https://www.cnblogs.com/wangzhefeng2000/p/10208856.html