- Returns: {Object}
Returns an object containing the address
, family
, and port
of the remote
endpoint. This method throws an [ERR_SOCKET_DGRAM_NOT_CONNECTED
][] exception
if the socket is not connected.
Returns an object containing the address
, family
, and port
of the remote
endpoint. This method throws an [ERR_SOCKET_DGRAM_NOT_CONNECTED
][] exception
if the socket is not connected.
若有收获,就点个赞吧
0 人点赞
让时间为你证明