This post has already been read 905 times!
What is Twisted?
Twisted is an event-driven networking engine written in Python and licensed under the open source MIT license. Twisted runs on Python 2 and an ever growing subset also works with Python 3.
Here's a simple publish/subscribe server, where clients see all messages posted by other clients:
You can test this out by opening two terminals and doing telnet localhost 1025 in each, then typing things.
source : https://twistedmatrix.com/trac/