Skip to content

generateChecksums option doesn't work for me #63

Description

@JoakimCh

Edit: I see that this was intentionally removed... The doc is not updated though. Removed in commit: e66bd32

const socket = rawSocket.createSocket({
  protocol: rawSocket.Protocol.ICMP,
  generateChecksums: true, // this doesn't write anything
  checksumOffset: 2
})
// this one works though
rawSocket.writeChecksum(packet, 2, rawSocket.createChecksum(packet))

If more info needed then let me know.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions