参考链接:https://www.cnblogs.com/fzz9/p/8964513.html tcp协议:https://blog.csdn.net/a987073381/article/details/52206215