随笔分类 - tcp
摘要:环境:centos8 x86_64 内核:4.18.0 1. close() 与 shutdown() 我们知道,tcp 有 4 次挥手过程,对于主动端来说: 发送 fin 通知被动端连接即将关闭 等待被动端发送 fin 过来以彻底结束连接 如果进程通过调用 close() 来结束连接,会让 soc
阅读全文
摘要:参考: http://blog.chinaunix.net/uid-30226910-id-5762962.html https://blog.csdn.net/mrpre/article/details/43451775 实验环境:os: centos8.5 / kernel: 4.18.0 /
阅读全文