Mercurial > hg > nodescore
view node_modules/node-osc/examples/client.js @ 84:a4a9059a3802
local to server
author | Rob Canning <rob@foo.net> |
---|---|
date | Mon, 28 Jul 2014 18:17:02 +0100 |
parents | cd921abc8887 |
children |
line wrap: on
line source
var osc = require('../lib/osc.js'); var client = new osc.Client('127.0.0.1', 3333); client.send('/oscAddress', 1, 1, 2, 3, 5, 8); // or // var msg = new osc.Message('/address') // msg.append("testing"); // msg.append("testing"); // msg.append(123); // client.send(msg) // or // var msg = new osc.Message('/address', 1, 2, 3); // client.send(msg);