Home Forums Support Checksum validation

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2296
    Anonymous
    Inactive

    Hi, I was looking for some example about checksum validation but I didn’t find nothing. My question is, where I should “turn on” the property of checksum and where the exception will be thrown (client or server)?.

    #2299
    Anonymous
    Inactive

    We don’t have an example yet, we will consider adding one once we are finished with the new release. Hopefully early next week.

    To turn on checksum validation (using an MD5 checksum):

    NetworkComms.EnablePacketCheckSumValidation = true;

    If a packet is received that fails validation:

    1. If it’s payload size is less than NetworkComms.CheckSumMismatchSentPacketCacheMaxByteLimit, the packet is re-requested.
    2. If the payload is larger an error file (CompleteIncomingItemTaskError) is created on the server side.

    Hope that answers the question,
    Regards,
    Marc

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.