diff --git a/README.md b/README.md index 5094f69e..36e270f2 100644 --- a/README.md +++ b/README.md @@ -28,11 +28,11 @@ The NodeMCU programming model is similar to that of [Node.js](https://en.wikiped -- a simple HTTP server srv = net.createServer(net.TCP) srv:listen(80, function(conn) - conn:on("receive", function(conn, payload) + conn:on("receive", function(sck, payload) print(payload) - conn:send("