Hi, thanks for the response. But unfortunately this function doesn't make a correct calculation. There is a packet with control sum = 3000, but when calculated by this function, the result is different. :(
DD> Hey, DD> you will have to extract the packet, set the checksum to zero, calculate the DD> checksum and put it in his place. DD> If you need a function for calculating a 16-bit checksum, here you go: ... ================================================================== This is the WinPcap users list. It is archived at http://www.mail-archive.com/[EMAIL PROTECTED]/ To unsubscribe use mailto: [EMAIL PROTECTED] ==================================================================
