hackcentercontrol/nodeartnet/node_modules/node-osc/examples/server.js

9 lines
179 B
JavaScript
Raw Permalink Normal View History

2012-12-28 22:17:47 +00:00
var osc = require('node-osc');
var oscServer = new osc.Server(3333, '0.0.0.0');
oscServer.on("message", function (msg, rinfo) {
console.log("Message:");
console.log(msg);
});