效果可以参考源码:tdi ksocket 等:https://github.com/haidragon/sokit 转载于:https://blog.51cto.com/haidragon/2329108