socket.remoteAddress


远程 IP 地址的字符串表示。例如,'74.125.127.100''2001:4860:a005::68'。如果套接字被销毁(例如,客户端断开连接),该值可能是 undefined

【The string representation of the remote IP address. For example, '74.125.127.100' or '2001:4860:a005::68'. Value may be undefined if the socket is destroyed (for example, if the client disconnected).】