I\'m making a chat app with socket.io, and I\'d like to use my custom client id, instead of the default ones (8411473621394412707, 1120516437992682114
8411473621394412707
1120516437992682114
or you can override the socket id, like this:
io.on('connection', function(socket){ socket.id = "YOUR_CUSTOM_ID"; });
you can see under the array:
io.sockets.sockets