Now since most users (including me) tend to run programs locally, I want to have the possibility to run a tserver and tclient on the same machine and connect the tclient to the local tserver.
Issue is, that I want to send the I/O information and the frame information via rednet (so I can have a display server and multiple clients.)
So this brings up two questions for me:
1) Can I rednet-connect to localhost and if so
2) can I do so without having a modem installed (Needing a modem to connect to localhost is pointless, let's face it.)?
Hope somebody can answer this.
EDIT: By testing, I found out that rednet.send(os.getComputerID(), <message>) works just as it should AND that this works regardless if a modem is opened.
Meaning this works even if no modem is open or attached:
rednet.send(os.getComputerID(), "Testmsg") local sender, msg = rednet.receive() print(msg)will output
Testmsgjust as expected.
Edited by MrObsidy, 04 May 2019 - 04:11 PM.