File

libs/net.lua @ 506:3610196c5e83 default tip

Merge with Zash.
author Trần H. Trung <xmpp:trần.h.trung@trung.fun>
date Sat, 08 Jul 2023 02:17:52 +0700
parent 478:cf6626a12e0e
line wrap: on
line source

return {
	pton = function (ip)
		if ip:find":" then
			return "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
		else
			return "\0\0\0\0"
		end
	end
}