serverport = 80 server=net.createServer(net.TCP) server:listen(serverport, function(connection) connection:send (HTTP/1.1 200 OKnContent-Type: text/htmlnRefresh: 10nn» .. «» . «» .. «Server
» .. » ChipID : » .. node.chipid() .. «
» .. » MAC : » .. wifi.sta.getmac() .. «
» .. » Heap : » .. node.heap() .. «
» .. » Timer Ticks : » .. tmr.now() .. «
» .. «») connection:on(«sent»,function(connection) connection:close() end) end )