[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: spec questions



[Note -- posts like this should go to the public pynchon-dev list.
pynchon@xxxxxxxxxxx is for private messages to the pynchon developers. I
just realized the bulk of our conversations have been happening off-list.]

On Mon, 9 Apr 2007, Brian Warner wrote:

[snip]

> I generally tend towards putting explicit container/message counts at the
> beginning of the message, but clearly either way works fine, as long as we
> know the overall data length. If we don't (i.e. if the TYPE+DATA+HASH really
> is supposed to not have a LENGTH field), then we need an element count in the
> beginning of each message, or we'll have no idea when we should stop parsing
> it.
>
> Any thoughts as to which way these should go?

Sorry I missed this message when you sent it; I was in the middle of
moving. I would treat cases where the spec doesn't specify length as an
ommission, and add packet for it. (If you send me a patch to the spec,
I'll update it.

> more to come as I run across them..

Thanks!


--Len.