mirror of
https://github.com/lunarmodules/luasocket.git
synced 2025-07-13 06:04:31 +02:00
Almost ready to release beta3
This commit is contained in:
@ -14,8 +14,8 @@ if arg then
|
||||
port2 = arg[3] or port2
|
||||
end
|
||||
|
||||
server1 = socket.try(socket.bind(host, port1))
|
||||
server2 = socket.try(socket.bind(host, port2))
|
||||
server1 = assert(socket.bind(host, port1))
|
||||
server2 = assert(socket.bind(host, port2))
|
||||
server1:settimeout(1) -- make sure we don't block in accept
|
||||
server2:settimeout(1)
|
||||
|
||||
|
Reference in New Issue
Block a user