On Mon, Sep 13, 2010 at 8:33 PM, Adam Bark <adam.jt...@gmail.com> wrote:

> Ideally you would send a specific ending packet and you read one byte at a
> time until the
>
right sequence comes up. Alternatively you could have the first byte as a
> length indicator.
>

Oh my dear! You're damn right! The protocol im implementing is fixed so I
can't
at an ending packet, but every message contains an length field I can use
for this!!
How could I miss this?!

Thank you, Markus

-- 
Can't read my mail? Just don't hold it that way!
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to