[Twisted-Python] Porting Apache Mina to Twisted
itamar at itamarst.org
Mon Dec 6 07:29:39 MST 2010
On Mon, 2010-12-06 at 16:11 +0200, Umut Aydin wrote:
> Hello again
> I couldn't get any answer to my question and I think I couldn't point
> my problem clearly.
> On the line #130 I need to check if the socket is still connected.
Disconnection is an *event*: connectionLost will be called on the
protocol. Record the fact you're disconnected inside that method, rather
than checking the socket.
More information about the Twisted-Python