[Twisted-Python] UDP asynchronous communication

Tommi Virtanen tv at twistedmatrix.com
Sun Apr 10 12:09:48 EDT 2005

Adrian Libotean wrote:
> Trust me I've read the document and after:
> reactor.listenUDP(...)
> reactor.run()
> the *client* just waits for incoming traffic.

That just tells me you have not understood twisted yet.

Set up things to happen, then call reactor.run() at the end
of your main function.

If you only set up one thing to happen, only one thing will
happen. That may be alright for the example, which only wanted
to do one things; real applications tend to be a bit more

Also, please do not top-post.

More information about the Twisted-Python mailing list