[Twisted-Python] protocol connectionLost clientConnectionLost

Itamar Turner-Trauring itamar at itamarst.org
Thu Jun 7 22:39:56 EDT 2012

On 06/07/2012 10:23 PM, Kevin McIntyre wrote:
> Below is my sample code.  I'm hoping to unplug my internet cable and
> get a connectionLost.  But this doesn't happen.  Is there anyway to
> detect this?
Send out a message every few seconds or minutes; if you're not sending 
any traffic the OS will not detect problems with the TCP connection.

More information about the Twisted-Python mailing list