Jump to content




Networking API - Connect Yourselves


2 replies to this topic

#1 Cloud Ninja

  • Members
  • 361 posts

Posted 06 March 2016 - 01:14 AM

A description

This networking API was initially built to simulate WIFI/LAN networks inside of Computercraft using a router based solution. What it turned into was more or less a security solution to localize traffic.

This API works similarly to rednet but without being able to be sniffed through just ONE channel (see my other program NetUtil/Libpcap & Libspoofer)

The way it works

This API uses one file to allow the creating, connecting/disconnecting to a wifi/lan network (or both if you set it up as such) to allow sending over that password protected network.

Passwords and SSID's for the network are not sent over the network, merely via Server to Connectee.


Pastebin: pastebin get pAksK8i6 net

Functions

Spoiler

Usage

To host a router session use net.host(SSID, password)

To join, use net.connect(SSID, password)

To send, use net.send(msg, to)

To receive, use net.receive()


Have fun and enjoy


Credits

Main programmer | Scoopta

Other odds and ends in program | ME!


Edited by CloudNinja, 06 March 2016 - 08:18 PM.


#2 X3ME

  • Members
  • 82 posts
  • LocationBeing the stereotypical kid in forums.

Posted 13 March 2016 - 09:46 PM

This is brilliant, how come this doesnt have a single reply?
Imma start using this on an upcoming project ;)

#3 Cloud Ninja

  • Members
  • 361 posts

Posted 14 March 2016 - 02:49 AM

View PostX3ME, on 13 March 2016 - 09:46 PM, said:

This is brilliant, how come this doesnt have a single reply?
Imma start using this on an upcoming project ;)
haha i dont know, i thought it was pretty clever. Thanks for wanting to use it though, took a bit of time to get the kinks we could find worked out, if you find any bugs, please let us know!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users