
如何触发这些“异常”之一?
如果有人可以指出一个很好的解释,那将是非常棒的.我一直在搜索,找不到东西.
解决方法 简单形式:当TCP套接字接收带外数据时会出现异常情况.如果您阅读了选择manual page,可以参考另一个名为select_tut的补充手册页,其中说明如下:
exceptfds总结This set is watched for “exceptional conditions”. In practice,only one such exceptional condition is common: the availability of out-of-band (OOB) data for reading from a TCP socket. See recv(2),send(2),and tcp(7) for more details about OOB data. (One other less common case where select(2) indicates an exceptional condition occurs with pseudo-terminals in packet mode; see tty_ioctl(4).) After select() has returned,exceptfds will be cleared of all file descriptors except for those for which an exceptional condition has occurred.
以上是内存溢出为你收集整理的什么是文件描述符的“异常”?全部内容,希望文章能够帮你解决什么是文件描述符的“异常”?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)