Good Linux e'body,
Hello,
this message was originally posted on LIP and I got some
response there. But I want more info and pointers to achieve
the job as fast as possible, so please excuse me for posting
it here. Hope, somebody though not programmers, may be
knowing some relevent info. So kindly co-operate, though
some-what off-topic here.
My original message and some response is given here :
---------------------------------------------------
Good Linux to e'body,
I 'm developing an app. for a local company. While
transmitting some statistical data between 2 LANs (
one in factory and another in office, both in the same
city ), the management want some provision of error
checking built-in the app it-self. I suggested them of
parity-bit key algo, which I had read some-where, but
do'nt remember it now.
The data will be mostly in the following form and with
lots of numbers:
1234-56 111-222 9876543210987 AX11200000009
PPP123-12345 999999.99
1234-57 111-222 9876543210987 AX11200000009
PPP123-12345 9999.99
1234-58 111-333 9876543210987 AZ11200000009
PPP123-12345 99999.99
The sending machine will pass the data-file through my
app to include the parity bit and
the receiving end will filter the incomming data-file
through my app ( which will be incorporating this
parity-bit checking algo ).
Does any-body know the algo or some pointers on net ?
Please guide !
Since
Regards & thanks in advance !
~ newlxuser
----------------------------------------------------
> Date: Tue, 11 Sep 2001 18:21:29 +0530
> From: Shridhar Daithankar <[EMAIL PROTECTED]>
> New User wrote:
> > 1234-56 111-222 9876543210987 AX11200000009
> > parity-bit checking algo ).
> > Does any-body know the algo or some pointers on net ?
> > Please guide !
>
> You can use md5sum. Transmit file length,file md5sum and md5sum
parity
> information. Should be sufficient.
>
Will it guarranty that the pattern "1100121" will be
recieved as same and *NOT* as "0011121" ? The question is
not of bytes/bits , but the actual numbers. If only amounts
in Rs/$ are concerned, then we can check it by verifying sum
of amount. But how to check integrity of only plain numbers
?
> Date: Tue, 11 Sep 2001 18:28:17 +0530 (IST)
> From: <[EMAIL PROTECTED]>
> The file gets passed through your app ?
Means, the data file will be pre-processed with my app.
before forwarding to other office. Sorry ,if confused !
> I am assuming that your
> application is sitting way up on the stack. Why do you need parity
> checking ? Someone below will do it. What you need is a large block
level
> error checking algo. Something like checksumming kb's of data and
> comparing against the transmitted checksums.
>
Have you read my original message carefully, saju ?
Please have a look here ! The company for whom I am
developing this app, is processing Megs/Gigs of statistical
data, where actual numbers are important, to predict certain
market trends and some weather forecast for some TV channels
etc...( I do'nt know much details of their markets.. )
As far as my little knowledge can say, md5, checksum etc
will only verify sum of bytes/bits and not integrity of
individual numbers. Correct me, if I am wrong !
> How r u transmitting the file ? Could you be more clear on it ?
>
2 LANs in the same city, but distant enough. One office will
create the data and transfer it to 2nd office thru modems. I
have setup both LANs - mixed i.e. Winxx, LinuxRH, LinuxDeb
machines. Presently both the offices are exchanging the data
thru Iomega zip floppies. But the 3rd new branch will be in
the another city. That's why, this circus !
Please guide !
Regards and thanks !
~ newlxuser
---------------------- end of message & replyes
--------------
Can any-body rocket me to the destination ?
If off-topic, kindly redirect the answers to LIP. Sorry,
Raju ! :-(
Regards & thanks !
~ newlxuser
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help