Live texturing

This commit is contained in:
maqu14
2016-03-18 10:14:02 +01:00
parent 65e5729118
commit 7fc83d1471
155 changed files with 18378 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
/**
* One server two clients
*/
var cluster = require('cluster')
, zmq = require('../')
, port = 'tcp://127.0.0.1:12345';
if (cluster.isMaster) {
for (var i = 0; i < 2; i++) cluster.fork();
} else {
var sock = zmq.socket('dealer');
sock.connect(port);
}