Nope, WebSockets can be hosted anywhere. As the WebSocket client code would be run in the browser (ie, on the end users machine), that would mean that the WebSocket could even be just on your local network. As long as you can access it's IP, it should work.
Going off topic, I've been wanting this for a while so in theory, you could create controls in a webpage that talk to a local device. You can't do that straight from the webpage with standard sockets, but if you have websockets, you can.
The most popular socket library I know of is socket.io , so if you went with whatever WebSocket protocol they are using, I think that would be cool. Also, Chrome is one of the few browsers that truly supports WebSockets, so even better for the IDE :)
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.
Nope, WebSockets can be hosted anywhere. As the WebSocket client code would be run in the browser (ie, on the end users machine), that would mean that the WebSocket could even be just on your local network. As long as you can access it's IP, it should work.
Going off topic, I've been wanting this for a while so in theory, you could create controls in a webpage that talk to a local device. You can't do that straight from the webpage with standard sockets, but if you have websockets, you can.
The most popular socket library I know of is socket.io , so if you went with whatever WebSocket protocol they are using, I think that would be cool. Also, Chrome is one of the few browsers that truly supports WebSockets, so even better for the IDE :)
Matt