I am trying to use sockets with node.js, I succeded but I don\'t know how to differentiate clients in my code. The part concerning sockets is this:
var WebSo
You can check the connection object. It has built-in identification for every connected client; you can find it here:
let id=ws._ultron.id; console.log(id);