hi, i am doing some tests with your library but my node process always quits after around 10 seconds.
source code:
var raw = require ("raw-socket");
var socket = raw.createSocket ({protocol: raw.Protocol.ICMP});
socket.on ("message", function (buffer, source) {
console.log ("received " + buffer.length + " bytes from " + source);
});
i would expect it to remain alive, as stated in the readme, but for some reason, it just exists after a short time.
tested with node v12.20.0