File

teal-src/util/net.d.tl @ 12542:5ec9d6913162

net.server: Fix multiple return values return foo and foo() crops multiple return values to a single one, so any second return values etc were last, mostly error details. Introduced in 7e9ebdc75ce4
author Kim Alvefur <zash@zash.se>
date Fri, 03 Jun 2022 17:51:42 +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