I have a problem with the firmware form NodeMCU bulid. when i send a few commands "conn:send" then ESP accepts only the first command.
example:
srv = net.createServer(net.TCP)
srv:listen(80, function(conn)
conn:on("receive", function(conn, payload)
print(payload)
conn:send("<h1> Hello</h1>")
conn:send("<h1> NodeMCU</h1>")
end)
conn:on("sent", function(conn) conn:close() end)
end)
when I am using this code, then I see only text "Hello", but when I change firmware to "nodemcu_float_0.9.6-dev_20150704" i see 2 text.
how to solve this problem?I wish I have used nodeMcu Bulid because I need a rtcTime library