Writing Simple WebSocket Server in Python: PyWSocket 7 minute read Echo websocket server implemented by hand on raw TCP Sockets.