We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bye the way, this is much better than demo which official site recommand. 👍
The text was updated successfully, but these errors were encountered:
which official site?
https://nodemcu.readthedocs.io/en/master/modules/net/#netsocketgetpeer
net.socket:getpeer() Retrieve port and ip of remote peer. net.socket:getaddr() Retrieve local port and ip of socket.
net.socket:getpeer() Retrieve port and ip of remote peer.
net.socket:getaddr() Retrieve local port and ip of socket.
Sorry, something went wrong.
Oh... It's my mistake, it should be 'getpeer', thx.
update:
local port, ip=skt:getpeer() local req = {source = msg, path = '', ip = ip}
local port, ip=skt:getpeer()
local req = {source = msg, path = '', ip = ip}
What I means is your httpServer implemetion is much better than the official site recommand.
No branches or pull requests
Bye the way, this is much better than demo which official site recommand.
👍
The text was updated successfully, but these errors were encountered: