File

teal-src/util/net.d.tl @ 12783:d513e4bd4928

util.human.io: Fix handling of os.execute() return values in Lua 5.2+ Wrong part of Lua 5.1 compat removed in 0f4feaf9ca64
author Kim Alvefur <zash@zash.se>
date Thu, 20 Oct 2022 17:35:01 +0200
parent 11577:60bee6822d79
line wrap: on
line source


local enum type_strings
	"both"
	"ipv4"
	"ipv6"
end

local record lib
	local_addresses : function (type_strings, boolean) : { string }
	pton : function (string):string
	ntop : function (string):string
end
return lib