LtAnnounceEndpoint
Properties
enabled: boolean
v0.42.0
info_hashes: LtAnnounceInfohash[]
v0.42.0
local_endpoint: [string, number]
v0.42.0
Changed in v0.51.1
Returns a table, [1] is the IP address and [2] the
port. Before, it returned only the IP address as a string.
Returns a table representing the local endpoint. Index 1 is the IP address, index 2 is the port.
Example
local ip, port = ep.local_endpoint[1], ep.local_endpoint[2]