[Twisted-Python] cannot get simple example to run
Christopher Armstrong
radix at twistedmatrix.com
Mon Apr 28 13:36:05 MDT 2008
On Mon, Apr 28, 2008 at 3:23 PM, <klok000 at gmail.com> wrote:
> Hello everyone. Try as I might I cannot get a very simple example to run.
> I basically want a server that accepts connections, and periodically issues
> messages to all clients. The docs for twisted.word says things are in flux
> so I would rather avoid that and just use a LineReceiver. However right now
> I can't get anything to work.
>
> I start the server and it seems to be happy to sit around and accept
> connections. However when I run the client it quits (without saying why)
> and no connection is made. Any help would be very much appreciated. Here's
> the code, log messages below that. Thanks!
You're not running the reactor in the client example.
--
Christopher Armstrong
International Man of Twistery
http://radix.twistedmatrix.com/
http://twistedmatrix.com/
http://canonical.com/
More information about the Twisted-Python
mailing list