keeping twisted and wxPython in sync
wentlv at gmail.com
Wed Feb 8 02:15:02 CET 2012
On Feb 8, 2:41 am, "Littlefield, Tyler" <ty... at tysdomain.com> wrote:
> Hello all:
> I have a couple questions. First, is there a way to know if connectTCP
> failed? I am writing a client with Twisted and would like to be able to
> notify the user if they couldn't connect.
> Second, I set the protocol on my factory after a connection has been
> made. So when I send my user and password, that is when I connect. Is
> there a way to handle waiting for the connection to complete?
> Take care,
> The Aspen project: a light-weight barebones mud enginehttp://code.google.com/p/aspenmud
> Sent from my toaster.
And for connection failed, you can write some hook code in
connectionLost() method, this method will be called when connection
More information about the Python-list