boundSocket.address()
- 返回:<Object> 一个具有
address、family和port属性的对象,正如server.address()返回的那样。
返回绑定的本地地址。当与 port: 0 绑定时,port 是操作系统分配的临时端口。
🌐 Returns the bound local address. When bound with port: 0, port is the
OS-assigned ephemeral port.
address、family 和 port 属性的对象,正如 server.address() 返回的那样。返回绑定的本地地址。当与 port: 0 绑定时,port 是操作系统分配的临时端口。
🌐 Returns the bound local address. When bound with port: 0, port is the
OS-assigned ephemeral port.