socket.io icon indicating copy to clipboard operation
socket.io copied to clipboard

Remote host IP address

Open aarong opened this issue 15 years ago • 2 comments

It would be very handy if Client objects had a .ipAddress property (it would enable developers to better secure authenticated connections, for example).

aarong avatar Mar 17 '11 11:03 aarong

console.log(Client.connection.remoteAddr)

3rd-Eden avatar Mar 17 '11 13:03 3rd-Eden

Many thanks.

aarong avatar Mar 17 '11 14:03 aarong