From: åæèäå <xb.zhou@xxxxxx>
To: libevent-users <libevent-users@xxxxxxxxxxxxx>
Sent: Fri, January 28, 2011 1:24:53 PM
Subject: [Libevent-users] About the parameter of callback
The callback's prototype is
(void)(*)(int, short, void*)
the second parameter indicates what kind of event(s) happen.
I found libevent-1.4.10 didn't have EV_ERROR.
So my question is:
When monitoring a socket, what value will be set to the second parameter if an error occurred on the socket?
thanks