找回密码
 用户注册

QQ登录

只需一步,快速开始

查看: 5335|回复: 2

我想问什么时候EWOULDBLOCK错误信息

[复制链接]
发表于 2007-12-19 21:57:37 | 显示全部楼层 |阅读模式
我在客户端关闭时想捕获这个信息,但在客户端关闭时error却不是EWOULDBLOCK是怎么回事啊.谢谢!
 楼主| 发表于 2007-12-19 21:57:47 | 显示全部楼层
问题是你为什么非要EWOULDBLOCK呢??而且是非要在客户端关闭时要呢??估计系统会很郁闷的,哈
 楼主| 发表于 2007-12-19 21:57:53 | 显示全部楼层
我在客户端关闭时想捕获这个信息,但在客户端关闭时error却不是EWOULDBLOCK是怎么回事啊.谢谢!
Why would u expect this? It would be really interesting if you get this error when client disconnectted.
IMO, EWOULDBLOCK usually happens when client try to setup connection with non-blocking socket,which could be ignored safely
您需要登录后才可以回帖 登录 | 用户注册

本版积分规则

Archiver|手机版|小黑屋|ACE Developer ( 京ICP备06055248号 )

GMT+8, 2024-12-4 16:31 , Processed in 0.020434 second(s), 5 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表