In this post, I am going to share simple code snippet to get the IP address of the client in socket.io.
1 |
socket.request.headers.referer |
Hope this code helps you.
In this post, I am going to share simple code snippet to get the IP address of the client in socket.io.
1 |
socket.request.headers.referer |
Hope this code helps you.