This is a NodeJS module designed to listen for and send messages to the FRC cRIO via the NetConsole feature..
var NetConsole = require('frc-netconsole').NetConsole;
var console = new NetConsole(342);
console.connect();
console.onMessage(function(message, info) {
console.log(message.toString());
});
var NetConsole = require('frc-netconsole').NetConsole;
var console = new NetConsole(342);
console.connect();
console.send("reboot");