On Tue, Feb 08, 2011 at 02:08:39PM -0500, Nick Mathewson wrote: > On Mon, Feb 7, 2011 at 5:15 PM, Ivan Novick <[email protected]> wrote: <snip> > > Do you know how I can detect the disconnection caused by bringing down > > the interface on the server ... while still using libevent? > > If there's a good way to do this, Libevent or no, I'd like to know about it > too. >
I don't see why disconnecting an interface must immediately trigger a TCP connection shutdown. It doesn't on my MacBook when I `ifconfig en1 down' the airport device. My ssh sessions survive intact. I just did it while writing this e-mail, which is being composed in mutt over ssh. Several times, even. Using both ifconfig and the task bar tool. *********************************************************************** To unsubscribe, send an e-mail to [email protected] with unsubscribe libevent-users in the body.
