A complete working example of a web socket server and client page using python flask, flask-socketio and socketio js library.