socket.autoSelectFamilyAttemptedAddresses
只有在 socket.connect(options)
中启用了系列自动选择算法并且它是已尝试的地址数组时,此属性才会存在。
¥This property is only present if the family autoselection algorithm is enabled in
socket.connect(options)
and it is an array of the addresses that have been attempted.
每个地址都是 $IP:$PORT
形式的字符串。如果连接成功,那么最后一个地址就是套接字当前连接到的地址。
¥Each address is a string in the form of $IP:$PORT
. If the connection was successful,
then the last address is the one that the socket is currently connected to.