tutorial update

I have found out that the info in the tutorial (the one here is old. It only works in version 2.0.4.
Here is the problem:
This is the code that the tutorial uses for the server:

var server = require('http').createServer();
var io = require('')(server);

io.sockets.on('connection', function(socket) {
    console.log("Client has connected!");

console.log ('Server started.');

But if you look here:, it says you have to handle the CORS for remote connection in version 3.
I respectfully ask that you update the tutorial so that people don’t get confused. Thank you and have a great day! :smile: