Skip to content

generateChecksums option doesn't work for me #63

@JoakimCh

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.

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