This is a basic wired networking protocol that allows you to set up a rudimentary chat application over a WIRED network. This is the foundation for a far FAR more robust protocol I am developing
local term = require("term")
local component = require("component")
local event = require("event")
local m = component.modem
local str="0"
-- determine what channel people want to listen on
term.write("What channel do you want to chat on? \n")
local channel=io.read()
m.open(tonumber(channel))
-- begin event
event.listen("modem_message", function(_,_,from,port,_,message)
-- decipher, and print
l