Namespace does not work for socket.io-client in node.js app
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
0
Namespace on web page client works fine for me: // Browser side JS: processed by browserify var io = require('socket.io-client')('/namespace'); io.emit("message", data); Server receives connect and the message without any problem. However if I try to make client app with node.js name space does not work. Code is following: test.js var io = require('socket.io-client'); var socket = io.connect('http://localhost:3000', { reconnect: true, path: '/namespace' }); // Add a connect listener socket.on('connect', function(socket) { console.log('Test