eping
v0.0.2
Published
ping event emitter
Downloads
14
Readme
Eping
Simple node.js addon to send ICMP echo request and receive responces in EventEmitter style.
Example of usage:
{Eping} = require './eping'
hosts = []
for i in [1..255]
hosts.push "172.20.0.#{i}"
p = new Eping(hosts)
.on('one', (host, isUp) -> console.log 'one:', host, isUp)
.on('all', (status) -> console.log 'all:', status)
.start()