172 posts
Location
USA
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
54 posts
Location
Italy
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:
Spoiler
rednet.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
756 posts
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