cpp call from node.js + realtime monitoring via websockets