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.

22 lines
290 B

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