Modem.transmit
From ComputerCraft Wiki
Revision as of 17:59, 8 April 2015 by Apemanzilla (Talk | contribs)
| Sends a message and a reply channel over the specified channel. The message may be any type of data excluding functions and threads, which will be received as nil. | |
| Syntax | modem.transmit(number channel, number replyChannel, message) |
| Returns | nil |
| Part of | ComputerCraft |
| API | Modem |
Examples
| Sends a message and a reply channel over the specified channel. | |
| Code |
local modem = peripheral.wrap("top") modem.transmit(1, 2, "Hello world!") |