Example of using a WebSockets

Clicking submit will broadcast the message to all connected clients - try opening this page on multiple, and different, browsers!