You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
317 B

local network = require("network")
local modem = {}
function modem.open(port)
-- Nothing
end
function modem.send(addr, port, msg)
network.send(addr, port, msg)
end
function modem.close(port)
-- Nothing
end
function modem.broadcast(port, msg)
network.broadcast(port, msg)
end
return {
modem = modem,
}