Re: [Twisted-Python] Supporting a two-part client protocol.

2020-02-04 Thread Colin Dunklau
On Tue, Feb 4, 2020 at 6:12 PM Go Luhng wrote: > > Thanks Colin and Barry for the reply. I read the sans-io docs and it > is an attractive approach. > > I believe I have a plan going forward, but I'm not sure what you mean > by explicit vs implicit state machine, if you care to elaborate. IntNStr

Re: [Twisted-Python] Supporting a two-part client protocol.

2020-02-04 Thread Go Luhng
Thanks Colin and Barry for the reply. I read the sans-io docs and it is an attractive approach. I believe I have a plan going forward, but I'm not sure what you mean by explicit vs implicit state machine, if you care to elaborate. ___ Twisted-Python mai

Re: [Twisted-Python] Supporting a two-part client protocol.

2020-02-04 Thread Barry Scott
On Tuesday, 4 February 2020 07:39:11 GMT Colin Dunklau wrote: > On Tue, Feb 4, 2020 at 1:18 AM Go Luhng wrote: > > > Colin Dunklau wrote: > > > > > > Assuming the header has a fixed length, > > > > It does. The header is just a serialized C struct, so it's > > fully-specified for length and offs