Version 2 (modified by 7 years ago) (diff) | ,
---|
Source:
Twisted 11.0.0 tar Win32: Twisted 11.0.0 for Python 2.5 Twisted 11.0.0 for Python 2.6 Twisted 11.0.0 for Python 2.7 And More: Other Downloads Dependencies: Zope.Interface The Twisted Book![]() |
What is Twisted?Twisted is an event-driven networking engine written in Python and licensed under the MIT license. Easily Implement Custom Servers and ClientsTwisted makes it easy to implement servers. Here's a TCP server that echoes back everything that's written to it: from twisted.internet import protocol, reactor class Echo(protocol.Protocol): def dataReceived(self, data): self.transport.write(data) class EchoFactory(protocol.Factory): def buildProtocol(self, addr): return Echo() reactor.listenTCP(1234, EchoFactory()) reactor.run() Learn more about writing servers, writing clients and the core networking libraries (SSL, scheduled events, unit testing, and more). Quick LinksGeneral Information:
More Useful Pointers:
|
Twisted SponsorsBecome a 2011 Sponsor Today!
Donations are tax-deductible.
Your Logo HereYou can use the form above for both personal donations and corporate sponsorships; for any donation above the Bronze level, we will display your logo here on the front page.Gold![]() Silver![]() ![]() ![]() ![]() ![]() Bronze![]() ![]() |