Re: [Libevent-users] About the parameter of callback

2011-01-29 Thread ren yufei
read/write the socket first? - Original Message ----- From: "ren yufei" To: libevent-us...@freehaven.net Sent: 2011年 1 月 29日, 星期六 上午 3:02:33 GMT +08:00 Beijing / Chongqing / Hong Kong / Urumqi Subject: Re: [Libevent-users] About the parameter of callback What kind of error on the

Re: [Libevent-users] About the parameter of callback

2011-01-28 Thread ren yufei
What kind of error on the socket did you refer? Because there is no 'EV_ERROR', you could not set this kind of event for detecting(as select). So, you don't have method or don't need detect ERR(please distinguish with err generated by read()) on a socket. Yufei _