What I mean is how do I create a socket server so that it accepts connections to, for example,:
ws://localhost:1234/echo
ws://localhost:1234/chat
I don't find it anywhere in the Qt doc.
What I mean is how do I create a socket server so that it accepts connections to, for example,:
ws://localhost:1234/echo
ws://localhost:1234/chat
I don't find it anywhere in the Qt doc.
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,
_
Bookmarks