Python Twisted Client Connection Lost
I have this twisted client, which connects with a twisted server having an index. I ran this client from command-line. It worked fine. Now I modified it to run in loop (see main())
Solution 1:
You don't quite understand how the Twisted reactor works.
reactor.run()
is starting up the reactor's event-loop --- it's a blocking call that loops "forever".
See http://twistedmatrix.com/documents/10.2.0/core/howto/reactor-basics.html for various reactor-related topics.
Post a Comment for "Python Twisted Client Connection Lost"