1
0
mirror of https://github.com/kepler155c/opus synced 2025-11-12 05:23:01 +00:00

convert to event api

This commit is contained in:
kepler155c@gmail.com
2017-08-03 01:46:39 -04:00
parent 252fb16853
commit a1660fd073
6 changed files with 80 additions and 108 deletions

View File

@@ -1,8 +1,8 @@
local Socket = require('socket')
local process = require('process')
local Event = require('event')
local Crypto = require('crypto')
process:newThread('trust_server', function()
Event.addRoutine(function()
print('trust: listening on port 19')
while true do