How it works...

Twisted is developed as an asynchronous service development bundle, developed for Python 2. Currently it has also been ported to Python 3.

The system has a server that listens to the messages published to it. The server functions as a broker in the publish/subscribe paradigm. Any of the clients that send messages to the server (in this example, a telnet client), functions as the publisher. All the other instances function as the subscriber. As all the instances in this example listen to each other, each of them function as both publisher and subscriber.

You may use various options and commands of the twisted module to achieve various tasks such as SSH and FTP servers effectively.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.185.47