For the latest stable version, please use Emilua API 0.10! |
ip.get_name_info
Synopsis
local ip = require "ip"
ip.tcp.get_name_info()
ip.udp.get_name_info()
function(a: ip.address, port: integer)
-> { host_name: string, service_name: string }[]