peakzhang 发表于 2007-12-19 21:57:37

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

我在客户端关闭时想捕获这个信息,但在客户端关闭时error却不是EWOULDBLOCK是怎么回事啊.谢谢!

peakzhang 发表于 2007-12-19 21:57:47

问题是你为什么非要EWOULDBLOCK呢??而且是非要在客户端关闭时要呢??估计系统会很郁闷的,哈

peakzhang 发表于 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
页: [1]
查看完整版本: 我想问什么时候EWOULDBLOCK错误信息