[Twisted-Python] reject all open connections
Irae Hueck Costa
iraehc at hotmail.com
Sat Jun 21 16:26:37 EDT 2008
i just want to clean my reactor - all readers and writer should looseConnection()
but how can i do this? reactor.removeAll() dont do it.
the best solutions i found was a horrible workaround:
a thread is tarted, which constantly calls ``[conn.loseConnection() for conn in reactor.removeAll()]``
is there a better solution?
Conheça o Windows Live Spaces, a rede de relacionamentos do Messenger!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Twisted-Python