The QWebSocket instances have a requestUrl() method. Doesn't this contain the URL used by the client?

Otherwise, maybe use two instances of QWebSocketServer on two different ports? Like in non HTTP network programming?

Cheers,
_