[Twisted-Python] Conch Testing server and client

Anshul Singhle anshul.singhle at gmail.com
Fri Jul 1 07:56:30 MDT 2011

> ClientCreator.connectTCP returns a Deferred that fires with a Protocol
> instance (in this case, a SimpleTransport instance), which you are then
> comparing with a string in got_data(). This fails, as one would expect.
> So then how do i get the protocol to run? and how do i get the data
received by the protocol? Do I need to create my own deferred that is fired
when the result is retrieved or  is their already such a deferred which I
can callback?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20110701/f22b8856/attachment-0001.html>

More information about the Twisted-Python mailing list