This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
houseofkraft's profile picture

How to use the rednet protocol

Started by houseofkraft, 24 October 2016 - 07:16 PM
houseofkraft #1
Posted 24 October 2016 - 09:16 PM
Hi Guys,

I was wondering how to use the rednet protocol and i don't know how to use it

- House
Larry84 #2
Posted 24 October 2016 - 10:44 PM
I think it may be useful for not to process large quantities of messages, searching for the message the program needs.
Also, it's useful if you want to have various computers wich sends the same message to the central one and needs a response. The central computer may need to recall a function based on the message, and to send it to the computer defined in the portocol (or vice versa). I feel that like a second message into one (message-ception :ph34r:/> ), even if I know it isn't exactly like this. I'm not informed this much :P/>
There it is some documentation:
Spoilerrednet.send(), with some specific explaination - http://www.computercraft.info/wiki/Rednet.send
rednet.lookup(), a function specific for protocols - http://www.computercraft.info/wiki/Rednet.lookup
rednet.host() - http://www.computercraft.info/wiki/Rednet.host
Anavrins #3
Posted 25 October 2016 - 01:23 AM
Direwolf20 made a simple explanation on how the protocol part of rednet works on his CC 1.6 spotlight video.
https://youtu.be/S731LoSHYXw