Answers for "node.js ping"

0

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");
});
Posted by: Guest on March-26-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language