Xref: utzoo comp.unix.questions:28486 comp.lang.perl:3892 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!cert!netnews.upenn.edu!msuinfo!chroma.cps.msu.edu!raja From: raja@bombay.cps.msu.edu (Narayan S. Raja) Newsgroups: comp.unix.questions,comp.lang.perl Subject: Re: Need help with error correction. Keywords: error-correction Message-ID: <1991Feb7.011537.10908@msuinfo.cl.msu.edu> Date: 7 Feb 91 01:15:37 GMT References: <1991Feb6.142829.20725@dg-rtp.dg.com> Sender: news@msuinfo.cl.msu.edu Reply-To: raja@cpswh.cps.msu.edu Organization: PRIP Lab, Comp. Sci. Dept., MSU Lines: 18 In article <1991Feb6.142829.20725@dg-rtp>, (Greg Hunt) writes: < When I've had file transmission problems, I've used sum(1) to produce < a checksum of the file on both the sending side machine and the < receiving side machine and compared the results. If they weren't the < same, then I knew that something got corrupted in the transmission and < I got the file again. I've also used sum for the same purpose. However, according to the man page, sum may give different checksums if sizeof(int) is different on the two machines. Narayan Sriranga Raja.