util/uuid.lua

Fri, 24 Oct 2008 15:32:31 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Fri, 24 Oct 2008 15:32:31 +0100
changeset 161
8c1a8a3e32e8
parent 145
fbb3a4ff9cf1
child 519
cccd610a0ef9
permissions
-rw-r--r--

Destroy s2s sendqueue when connection is established successfully and data written


local m_random = math.random;
module "uuid"

function generate()
	return m_random(0, 99999999);
end

return _M;

mercurial