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

Information Over Rednet

Started by iRazaL, 01 March 2016 - 09:54 AM
iRazaL #1
Posted 01 March 2016 - 10:54 AM
i was wondering if it was possible to send the information on that computer in the video bellow to another computer through rednet and then have that computer link with a monitor to display the program instead of a long wire.

https://www.youtube.com/watch?v=amlnO8U0r6E

i am new to this thanks for any and all help :)/>
Lyqyd #2
Posted 11 March 2016 - 11:51 PM
Moved to Ask a Pro.
hbomb79 #3
Posted 12 March 2016 - 02:25 AM
Transferring information wirelessly between computers will require you to have a decent understanding of the Rednet API.

The Rednet API can be found here
The functions you would probably need to know are: send, receive and open

In short it will require you to attach a modem to each of the computers, open the rednet connection on that side. Once open your receiving computer would listen for rednet messages and your sending computer would… send information to the other computer.

If you want to send tables of data you would have to serialize the table with textutils.serialise and then textutils.unserialize it when received on the other end.

Let me know if you need further assistance understanding rednet, do let me know.
Edited on 12 March 2016 - 01:25 AM