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

[LUA] [API] [HELP] Tunnel API

Started by Geforce Fan, 18 May 2013 - 09:33 AM
Geforce Fan #1
Posted 18 May 2013 - 11:33 AM
So I couldn't figure out the rc4 encryption, but what I think would be morse secure is the rednet tunnel api.
But I need to know how to privately message someone using the tunnel api
Can anyone help? :)/>
(tunnels link: http://www.computercraft.info/forums2/index.php?/topic/12450-killavanillas-various-apis/page__hl__encryption__fromsearch__1 )
Bubba #2
Posted 18 May 2013 - 12:42 PM
What exactly do you need help with? He provides you with all the functions and events that the API provides.
Geforce Fan #3
Posted 18 May 2013 - 04:29 PM
I need help knowing what functions I need to call in order to send & receive. My modem is on the top if it matters, but I need one computer to send and one to receive.
Also: I am sending text to certain computer IDs.
Bubba #4
Posted 18 May 2013 - 05:36 PM
I've never used the API, therefore I can't be sure. However, it appears to me that you'll want to use installTunnelAsModem(realModem, connectionID, sideName) in order to create a fake secure modem and then use the functions it provides.