"net" server socket's information #6382
Unanswered
espruino-discuss
asked this question in
ESP8266
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2020-05-01 by user106712
The socket object returned from createServer() shows (using JSON.stringify(sock)):
{"type":0,"sckt":15,"conn":true}
Are the above the only key/value pairs available?
sock.remoteAddress and sock.remotePort are both undefined.
Can these be discovered somehow?
Beta Was this translation helpful? Give feedback.
All reactions