util/uuid.lua

Sat, 01 Nov 2008 18:28:46 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Sat, 01 Nov 2008 18:28:46 +0000
changeset 190
1e993b7deae7
parent 145
fbb3a4ff9cf1
child 519
cccd610a0ef9
permissions
-rw-r--r--

General fixes for s2s, to make it more robust (I hope), sending data to remote hosts sane (s2ssession.send() works as expected), recycle outgoing dialback connections, etc.


local m_random = math.random;
module "uuid"

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

return _M;

mercurial