我想问什么时候EWOULDBLOCK错误信息
我在客户端关闭时想捕获这个信息,但在客户端关闭时error却不是EWOULDBLOCK是怎么回事啊.谢谢! 问题是你为什么非要EWOULDBLOCK呢??而且是非要在客户端关闭时要呢??估计系统会很郁闷的,哈 我在客户端关闭时想捕获这个信息,但在客户端关闭时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]