For example, let's assume that your server is listening on example.com, port 8000, and your socket server responds to GET requests at example.com/chat. This means that you don't have to bloat your server what is websocket used for code with cookie and authentication handlers (for example). In general, WebSocket connections can stay open indefinitely as long as both the client and server remain connected...