local internet = require("internet") local socket = internet.open("0.0.0.0", 8080) while (true) do out = socket:read() if out ~= nil then print(out) end end