view node_modules/node-osc/examples/client.js @ 87:e9cbc93e1d10

make sure images are always loaded - client late join bug closed
author Rob Canning <rob@foo.net>
date Tue, 29 Jul 2014 00:21:50 +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);