[TWISTED] Howto Deferred
rosuav at gmail.com
Thu Jul 14 03:57:41 EDT 2011
On Thu, Jul 14, 2011 at 5:07 PM, marco <marco at minasithil.org> wrote:
> Now I'd like to practice a bit by coding a little program that reads
> strings from a serial device and redirects them remotely via TCP. For
> that sake I'm trying to use deferred.
The obvious solution (to my mind) is two threads, one for each
direction. On receipt of data, the thread immediately sends it on to
the other end. I'm not familiar with deferred; it might work easily,
or might need some fancy footwork to make it go.
More information about the Python-list