node.js – Socket.IO

Dependencies npm install Server var fs = require(’fs’); var app = require(’http’).createServer( function(req, res) { // serwuj client.html fs.readFile(’client.html’, function(err, data) { res.writeHead(200); res.end(data); }); } ); app.listen(8081); var io = require(’’).listen(app);   io.sockets.on(’connection’, function (socket) { // send welcome message socket.emit(’from-server’, { date: ‘welcome to time service’ });   // send time on Read more about node.js – Socket.IO[…]

m2e + indigo

I’ve been suprised that in Eclipse Marketplace is no m2e plugin that works with Indigo right now. I saw… only juno or newer plugins. I found that this plugin version works good for me: (update site)