WEB SOCKETS

This page shows some examples of management of the WebSockets technology from the client-side point of view.
The page contains simple JavaScript snippets which implement a WebSockets client. The client calls a public echo service, available on the URL ws://echo.websocket.org/.

We do not show how to write a server side application managing WebSockets, since such task would require some backend skills (e.g. Java, PHP or Node.js).

To browse the code click on the Show code, Show markup labels below.





   





Show code


Show markup