I\'m having trouble getting basic client to client (or really client->server->client) working with socket.io. Heres the code I have right now:
io.sockets.on(
Try
users.push(socket); // without .sessionId for (var u in users) { // users[u] is now the socket console.log(users[u].id); users[u].emit('message', { msg: 'New User Connected succesfully' }); }