socket.localAddress


新增于: v0.9.6

远程客户端正在连接的本地 IP 地址的字符串表示形式。例如,在 '0.0.0.0' 上监听的服务器中,如果客户端连接到 '192.168.1.1',则 socket.localAddress 的值将为 '192.168.1.1'

\The string representation of the local IP address the remote client is connecting on. For example, in a server listening on '0.0.0.0', if a client connects on '192.168.1.1', the value of socket.localAddress would be '192.168.1.1'.

AltStyle によって変換されたページ (->オリジナル) /