[Twisted-Python] Noob Question

Shelby Ramsey sicfslist at gmail.com
Sat Mar 14 13:33:02 EDT 2009


I've been playing with twisted (to take advantage of deferreds) and trying
to accomplish this:
  -- log into a machine as a client
  -- send auth
  -- receive "events" from the machine

The events have a Content-Length: \d+ as the protocol for determining the
length of the message.  What I'm struggling with is how to parse that and
then receive just that length as an individual message ...

Thanks for any help that can be provided.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20090314/a6110312/attachment.htm 

More information about the Twisted-Python mailing list