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?
@user106712 started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
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?