Hello!

Sorry for the late reply.

On Tue, Jul 11, 2006 at 07:39:55PM +0800, CraX Sun wrote:
>hi,

>I am a newbie here. After i check the manpage and the sample codes, i  
>find there
>is not way to add EXCEPTION event. Am i wrong?

>Actually i have checked the source code of select.c, it has been set  
>to NULL for exception.
>Is it unuseful or some other reason?

"exception" is usually not very useful. It's only used for TCP urgent
data anyway. Error conditions, in contrast, make the socket or other
file descriptor readable and writable so you can handle the error in
the handlers for read/write events.

Kind regards,

Hannah.
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users

Reply via email to