[Twisted-Python] Error (and response) handling in protocols

Phil Mayers p.mayers at imperial.ac.uk
Mon Feb 21 01:59:26 MST 2011


On 02/21/2011 06:26 AM, Jason Heeris wrote:
>
> So how I do I deal with protocol errors in a connectionless protocol?

I'm a little confused as to why this is a connectionless protocol, if 
it's talking on a serial port? Surely it's a singleton connection, with 
no connect/disconnect events?

I know next to nothing about using Twisted for serial, but why aren't 
you using a single long-lived protocol instance?




More information about the Twisted-Python mailing list