Built-in programs

talk
sends messages
Type this at the prompt of a computer to copy it onto the medium:
> examples talk > edit talk
The program
-- Sends each line you type to every computer in reach: data
-- cable, radio modem or Wi-Fi. Run 'listen' on the others.
print("I am computer #" .. net.id())
while true do
write("> ")
local text = read()
local count = net.broadcast(text, "chat")
print("received by " .. count)
end