[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ecc, error correcting code insertion



On Wed, Jun 12, 2002 at 02:00:35PM +1000, James Cameron wrote:
> Is there a Debian package that contains code that will add error
> correcting codes to a data stream (e.g. a pipe) so that loss of a
> segment of the stream can be recovered from?

?? How do you expect to recover from an error reading/writing a
pipe?  You have EAGAIN, and SIGPIPE to catch.  Also, a segment 
written to a pipe will never got lost unless the OS is fubar'ed
or one of the ends has closed the stream in which case, there's
probably nothing to do about it (except catch SIGPIPE).

Presumably you want a programming library interface?  It's just
not clear what you're really looking for (CRC32?).

-- 
Eric G. Miller <egm2@jps.net>


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: