@Gordon if we are going to run the websocket server in Espruino we will loose the the main purpose of websockets which is cloud messaging. In that case you will never be able to send messages to Espruino unless you are in same network or having a static IP address.
Normally the socket server should run on a public server. Espruino & webpage or mobile app should act as a client connecting to that server as we already know it's IP. In that case you can control Espruino from anywhere.
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.
@Gordon if we are going to run the websocket server in Espruino we will loose the the main purpose of websockets which is cloud messaging. In that case you will never be able to send messages to Espruino unless you are in same network or having a static IP address.
Normally the socket server should run on a public server. Espruino & webpage or mobile app should act as a client connecting to that server as we already know it's IP. In that case you can control Espruino from anywhere.