This commit is contained in:
kepler155c@gmail.com
2018-11-26 20:53:28 -05:00
parent a0d47a5f1a
commit eb799004f8
3 changed files with 16 additions and 1 deletions

View File

@@ -81,7 +81,8 @@ local function loopback(port, sport, msg)
end
local function newSocket(isLoopback)
for i = 16384, 32767 do
for _ = 16384, 32767 do
local i = math.random(16384, 32767)
if not device.wireless_modem.isOpen(i) then
local socket = {
shost = os.getComputerID(),