File

teal-src/util/net.d.tl @ 12425:eabcc3ae22e9

net.connect: Improve handling of failure when attempts are still pending This could lead to failure being reported too early, even if some connections have not yet failed.
author Matthew Wild <mwild1@gmail.com>
date Mon, 21 Mar 2022 11:01:58 +0000
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