Rocco Caputo wrote:
> 
> On Wed, Jul 25, 2001 at 01:42:52AM +0100, Julian Morrison wrote:
> > Here is a new module for use with POE
> > package POE::Filter::SyncStream;
> 
> [... module ...]
> 
> > =head1 DESCRIPTION
> >
> > A SyncStream is a series of SyncBlocks, each of which consists of a
> > length in uppercase hexadecimal, a colon, a block of data as long as
> > specified in the length, and a zero byte.
> 
> Why do SyncStreams exist, and what commonly uses them?  I tried google
> searches for "syncstream" and "syncblock", but they didn't return
> anything that looked useful.  Do SyncStreams have a more common name?

Invented by me. Name made by me. (Hence the lack of google mentions.)
The use is for situations where two hosts are communicating over a
persistent link (eg: in some of my own stuff I'm making) where you want
the link to stay up even if the occaisional packet gets trashed. If a
message is garbled to the extent that it gives a wrong length etc, the
system will try to read it, fail, slurp data up to the next
synchronzation byte, and pick up the stream again.

Reply via email to