On Sun, Apr 02, 2006 at 10:00:27PM -0700, Dashkal wrote: > On Sat, 2006-01-04 at 20:36 -0800, Dashkal wrote: > > Oh well, back to square 1 *reads the FCPv2 docs* > > I have a couple questions with the protocol as stated at > http://wiki.freenetproject.org/FreenetFCPSpec2Point0 > (As it was April 3nd, 2006 - 5:00am UTC) > > End vs EndMessage: > > It appears that cli->node messages should end with End and node->cli > messages with EndMessage, however CloseConnectionDuplicateClientName > contradicts this. Should I just code as the page reads or is this an > error? Perhaps it would be best if, when reading a message, I consider > it to be over when I catch any line that starts with End and has no = > sign in it?
Sorry, they can end in anything, that's just the convention on the spec. > > End/EndMessage vs Data: > > AllData signifies the beginning of a block of binary data with Data but > ClientPut signifies the beginning of the data block with End. Is this > as it should be? Likewise. Feel free to correct the spec to make it more consistent, but sometimes e.g. in ClientPut messages won't always have attached data. > > ClientPut: > > Is the Length field required for the disk and redirect UploadFrom > types? No. -- Matthew J Toseland - toad at amphibian.dyndns.org Freenet Project Official Codemonkey - http://freenetproject.org/ ICTHUS - Nothing is impossible. Our Boss says so. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20060403/277d0963/attachment.pgp>
