Chinaunix

标题: 请问close()用于关闭socket时对应内核中的什麽函数? [打印本页]

作者: zhf418    时间: 2003-03-14 15:20
标题: 请问close()用于关闭socket时对应内核中的什麽函数?
请问close()用于关闭socket时对应内核中的什麽函数?
作者: 雷斯林    时间: 2003-03-15 19:26
标题: 请问close()用于关闭socket时对应内核中的什麽函数?
linux---->;inet_shutdown()
作者: 蓝色键盘    时间: 2003-03-16 21:20
标题: 请问close()用于关闭socket时对应内核中的什麽函数?
调用int shutdown(int s, int how);
可以实现
  how                         Interpretation
   SHUT_RD or 0          Further receives are disallowed
   SHUT_WR or 1         Further sends are disallowed
   SHUT_RDWR or 2     Further sends and receives are disallowed
作者: zhf418    时间: 2003-03-17 14:19
标题: 请问close()用于关闭socket时对应内核中的什麽函数?
thanks




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2