TCP链接的关闭

多线程多进程关闭链接的区别 首先来看看close和shutdown两个系统调用对应的内核函数:程序员 #define __NR_close 3 __SYSCALL(__NR_close, sys_close) #define __NR_shutdown 48 __SYSCALL(__NR_shutdown, sys_shutdown) 上图是调用close和shutdown关闭链接时的函数
相关文章
相关标签/搜索