Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

node.js ping

var session = ping.createSession ();

session.pingHost (target, function (error, target) {
    if (error)
        console.log (target + ": " + error.toString ());
    else
        console.log (target + ": Alive");
});
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #ping
ADD COMMENT
Topic
Name
1+5 =