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

2011-02-20 Thread Jason Heeris
On 21 February 2011 14:50, Michael Thompson wrote: > This might be better expressed as how do you write a protocol to > handle errors when using an unreliable transport. It down to your > protocol as to how you need to handle errors by for instance sending a > NACK  or re-transmitting a request.

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

2011-02-20 Thread Michael Thompson
On 21 February 2011 06:26, Jason Heeris wrote: > So how I do I deal with protocol errors in a connectionless protocol? This might be better expressed as how do you write a protocol to handle errors when using an unreliable transport. It down to your protocol as to how you need to handle errors by

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

2011-02-20 Thread Jason Heeris
I'm still a little confused about exactly how to deal with errors and responses using protocols and factories. I think a lot of my misunderstanding stems from the fact that I'm using serial (and inter-process) communications, both of which Twisted treats rather differently from TCP based connection