题
使用socket.io时是否可以在客户端(在浏览器中)获取客户端的IP地址?单独使用纯Javascript无法获得客户端的IP地址。
解决方案
There is no way, unless you send the IP address over the socket from the server side.
不隶属于 StackOverflow
题
使用socket.io时是否可以在客户端(在浏览器中)获取客户端的IP地址?单独使用纯Javascript无法获得客户端的IP地址。
解决方案
There is no way, unless you send the IP address over the socket from the server side.