[Twisted-Python] Correct way to handle errors of connectTCP
sipickles at hotmail.com
Tue Apr 1 02:45:24 EDT 2008
Jean-Paul Calderone wrote:
> On Mon, 31 Mar 2008 19:59:46 +0100, Simon Pickles
> <sipickles at hotmail.com> wrote:
>> I expected reactor.connectTCP to return a deferred. That would have
>> been nice, since callbacks would have handled the outcome.
>> So how to I handle failure with it?
> ClientFactory.clientConnectionFailed will be called if the connection
> attempt fails for some reason.
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
Linux Counter: User# 424693
More information about the Twisted-Python