[Libevent-users] Q: Will listener FD receive regular EV_READ callbacks?

2012-12-05 Thread Alexander Kolbasov
The libevent documentation mentions connection listeners that provide callback events for listener file descriptors. My question is - if we register EV_READ callback on a listener file descriptor, will it get EV_READ events when a new connection is arriving or the only way to work with listenets

Re: [Libevent-users] Q: Exception callbacks and events that should run immediately

2012-12-05 Thread Alexander Kolbasov
On Dec 5, 2012, at 2:15 PM, Mark Ellzey wrote: > On Wed, Dec 05, 2012 at 07:28:25PM +0000, Alexander Kolbasov wrote: >> On Dec 5, 2012, at 7:32 AM, Mark Ellzey wrote: >> >>> On Wed, Dec 05, 2012 at 11:10:04AM +0200, Nir Soffer wrote: >>>> On Wed, Dec 5, 2012

Re: [Libevent-users] Q: Exception callbacks and events that should run immediately

2012-12-05 Thread Alexander Kolbasov
On Dec 5, 2012, at 7:32 AM, Mark Ellzey wrote: > On Wed, Dec 05, 2012 at 11:10:04AM +0200, Nir Soffer wrote: >> On Wed, Dec 5, 2012 at 10:54 AM, Sashan Govender wrote: >> >>> Hi! >>> >>> 1) I don't see any notion of event notification on FD exception - e.g. socket close. Ther

[Libevent-users] Q: Exception callbacks and events that should run immediately

2012-12-04 Thread Alexander Kolbasov
Hello libevent-users! I am new to libevent, so sorry if these are FAQ questions (btw I haven't found any libevent FAQ). I want to try integrating libevent in an existing project and there are a couple of things that are not clear from the documentation and from googling around. 1) I don't see