Examples Test for use maybe . flask_example.py : Flask SocketIO Example with MySQL , mutlithreading , multiprocessing