Re: [Twisted-Python] protocol connectionLost clientConnectionLost

2012-06-07 Thread Xavier Lapointe
Just a pointer (was curious about it, but that's the closest I got in 5 min): http://twistedmatrix.com/pipermail/twisted-python/2004-July/008180.html ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman

Re: [Twisted-Python] protocol connectionLost clientConnectionLost

2012-06-07 Thread Itamar Turner-Trauring
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

[Twisted-Python] protocol connectionLost clientConnectionLost

2012-06-07 Thread Kevin McIntyre
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? -- from twisted.internet.protocol import Protocol, ReconnectingClientFactory from twisted.internet import reactor class Echo(Protocol): d