File

teal-src/util/net.d.tl @ 12549:3729a6bdb562 0.12

mod_smacks: Fix #1761 by setting a flag earlier This ensures that the flag is set even if the pre-drain callback is called from send(), as would be the case if opportunistic writes are enabled.
author Kim Alvefur <zash@zash.se>
date Sun, 12 Jun 2022 01:50:33 +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