[Twisted-Python] Help with TCPServer and listenTCP

Jean-Paul Calderone exarkun at divmod.com
Fri Oct 20 12:13:34 EDT 2006


On Fri, 20 Oct 2006 16:27:38 +0100 (BST), James Healey <healeyjames at yahoo.co.uk> wrote:
> [snip]
>
>From all the examples i can find using write method
>are all echo/chat programs and from that I guess only
>strings/text can be send via the write method.
>

Yes.  Only instances of `str' can be written to a transport.
If you have non-str data to convey, you need to serialize it
somehow.

>
>> Are you familiar with buildbot?
>
>Heard of but never looked at.

It is an application which does something much like what you
described in your initial email.

Jean-Paul




More information about the Twisted-Python mailing list