How does one retrieve the IP address of a socket.io connecting client?
This does not work in Socket.io v1.0: Get the client's IP address in socket.io . It returns undefined
.
I tried doing a console.dir
of the socket
object, but this does not seem to work.