[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [Libevent-users] detected a bad network connection for a TCP connection
On Feb 8, 2011, at 8:08 PM, Nick Mathewson wrote:
>> 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.
The best reliable way to do this is probably to try a read on the socket.***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.