File

teal-src/util/net.d.tl @ 11773:c5f2b63cf6ff

mod_s2s: Handle connections having TLS from the start This could be done with multiplexing, or a future additional port definition.
author Kim Alvefur <zash@zash.se>
date Tue, 10 Aug 2021 20:54:38 +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