On Tuesday 25 August 2009 05:11:34 Michael Yip wrote:
> Ian Clarke wrote:
> > On Mon, Aug 24, 2009 at 9:03 PM, Michael Yip <mhy831 at cs.bham.ac.uk 
> > <mailto:mhy831 at cs.bham.ac.uk>> wrote:
> >
> >     I have implemented a naive client according to the FCP 2.0
> >     specification
> >     and the client can send a ClientGet request using a given CHK key. The
> >     client would then gets DataFound and AllData replies as I specified in
> >     the ClientGet request that the ReturnType=direct.
> >
> >     What I've found is that the AllData reply doesn't end with the line
> >     "<xxxxx bytes of data>", which is specified in the FCP 2.0
> >     specification.
> >
> >     Is this a bug?
> >
> >
> > Is this a joke?
> >
> > Ian.
> >  
> It's not a joke but I admit I misunderstood the specification. I was 
> wondering how to detect the end of a AllData reply and I thought there 
> would be something such as "EndMessage".

No, it ends with the word "Data" on a line by itself and is followed by the 
data.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20090825/d5063e61/attachment.pgp>

Reply via email to