Definition at line 2352 of file feeserver.c.
References calculateChecksum().
Referenced by command_handler().
2353 unsigned int payloadChecksum = 0;
2357 if (((payload == 0) && (
size > 0)) || (
size < 0)) {
2363 printf(
"\nReceived Checksum: \t%x , \nCalculated Checksum: \t%x .\n\n",
2364 checksum, payloadChecksum);
2367 return (payloadChecksum == checksum) ?
true :
false;
unsigned int calculateChecksum(unsigned char *buffer, int size)