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
On Dec 5, 2012, at 2:15 PM, Mark Ellzey wrote:
> On Wed, Dec 05, 2012 at 07:28:25PM +, 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 at 10:54 AM, Sashan Govender wrote:
>
On Wed, Dec 05, 2012 at 07:28:25PM +, 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 at 10:54 AM, Sashan Govender wrote:
> >>
> >>> Hi!
> >>>
> >>>
> 1) I don't see a
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
On Wed, Dec 05, 2012 at 07:39:01AM +, Alexander Kolbasov wrote:
>
> 2) Sometimes I need to post an event that will be executed in the same event
> loop iteration
> (possibly after other events are processed)- e.g. I want to break a long
> call stack and restart
> from the event loo
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.
> >> There are some words for buffer events, but nothing for r
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.
>> There are some words for buffer events, but nothing for regular file
>> descriptor based callbacks. So what is a good way to get
Hi!
> 1) I don't see any notion of event notification on FD exception - e.g.
> socket close.
> There are some words for buffer events, but nothing for regular file
> descriptor based callbacks. So what is a good way to get a callback
> when specific
> FD is closed/disconnected?
>
If