Re: Help calculate checksum (newbie)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"Adriano" <adriano@xxxxxxx> schrieb:
I have a situation where need to calculate a checksum of some byte array.
Here's the sample output from server:
2008-09-30 11:35:00 `SC`00541.00TJ123456PPC 00000000DLGLGN 00000001TXBEG Login:user=mmlos, pswd=osmp

The checksum is 9afb81c7

I cannot figure out where this checksum come from, can anyone post a sample in vb.net or C#?
See the packet description at http://www.epay.tj/img/MML-Packets.jpg

Doesn't the packet description contain information on how to calculate the checksum (4.)?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

.



Relevant Pages

  • Re: PARASITIC COMPUTING - WHATS NEXT
    ... When the server ... validates the TCP checksum, it also validates whether or not the data in ... checksum is not correct that packet does not contain valid solution. ...
    (Focus-IDS)
  • Re: xinetd and fortran
    ... I tried calling flushafter each write by the server - no change in ... Running tcpdump yields nothing I can understand. ... it fails I get a packet I don't understand repeated every now and then ... bad checksum is used to prevent the packet from influencing the ...
    (comp.lang.fortran)
  • Re: XL driver checksum producing corrupted but checksum-correct packets
    ... you might want to try hooking up the UDP checksum drop case to ... :I may have misread: my reading was that the if_xl card marks the packet as ... the checksum check on my server on reception is succeeding). ... is because the client is no longer sending a corrupt packet. ...
    (freebsd-hackers)
  • Help calculate checksum (newbie)
    ... I have a situation where need to calculate a checksum of some byte array. ... Here's the sample output from server: ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Help calculate checksum (newbie)
    ... Here's the sample output from server: ... I cannot figure out where this checksum come from, can anyone post a sample in vb.net or C#? ... Doesn't the packet description contain information on how to calculate the checksum? ...
    (microsoft.public.dotnet.languages.vb)