4 local server = socket.bind("0.0.0.0", arg[1] or 8082)
5 server:settimeout(0, "t")
8 local client = server:accept()
12 local srv = client:getsockname()
14 client:send("HTTP/1.0 302 Found\r\nLocation: http://" .. srv ..
15 (arg[2] or "/luci/splash") .. "\r\n\r\n")