Re: [Libevent-users] Event after close

2010-08-18 Thread Nick Mathewson
On Wed, Aug 18, 2010 at 10:44 AM, Gilad Benjamini wrote: > I have a read event on a socket. At some point I realize the connection is > broken. > I delete the event and close the socket. > If the socket had pending data at that point, is there a chance that I will > get a read event ? I.e. an even

[Libevent-users] Event after close

2010-08-18 Thread Gilad Benjamini
I have a read event on a socket. At some point I realize the connection is broken. I delete the event and close the socket. If the socket had pending data at that point, is there a chance that I will get a read event ? I.e. an event on a socket that's already closed ? For the sake of simplicity, a