Websockets client api in Qt (C++)
-
wrote on 23 Nov 2011, 23:38 last edited by
Hi everyone. Is there a websockets client library or an api implementation done in Qt. I'm not interested in using webkit. I'm just asking if there is a C++/Qt implementation or if we can expect one in future versions.
Thanks
-
wrote on 25 Nov 2011, 07:43 last edited by
what do you mean by websockets client? do you want to access web content? it's already possible with QTCPSocket.
-
wrote on 25 Nov 2011, 08:17 last edited by
oh. sorry. Websockets is a new protocol for sending/receiving real-time data in browsers(html5 browsers). More info in "wikipedia":http://en.wikipedia.org/wiki/WebSocket
[quote author="mohsen" date="1322207021"]what do you mean by websockets client? do you want to access web content? it's already possible with QTCPSocket.[/quote]
-
wrote on 18 Feb 2012, 20:27 last edited by
There's a websocket server project "here":http://gitorious.org/qtwebsocket.
Perhaps it can be used as a starting point for a client, but of course it's tempting to use QtWebkit to implement the client side (much easier). -
wrote on 18 Feb 2012, 20:47 last edited by
[quote author="gadlim" date="1329596839"]There's a websocket server project "here":http://gitorious.org/qtwebsocket.
Perhaps it can be used as a starting point for a client, but of course it's tempting to use QtWebkit to implement the client side (much easier).
[/quote]Thanks. I've already knew about that... much easier?...probably ... much faste?... probably not
Specially when you think about mobile devices. -
wrote on 5 May 2012, 14:32 last edited by
Hi 2beers!
I wonder if you found anything interesting? -
wrote on 5 May 2012, 15:41 last edited by
[quote author="nvcnvn" date="1336228344"]Hi 2beers!
I wonder if you found anything interesting?[/quote]I've stopped searching. For the moment I've postponed my project. I've talked with the person who is making the qt webkit server and he told me that a client would be a good idea, but time is not on his side for the moment.
Let us know if you find anything
-
wrote on 6 May 2012, 01:28 last edited by
I have found websocket++ http://www.zaphoyd.com/websocketpp wich support the client (not event try - but I think it will work).
If there is a native Qt client that support signal and slot will be great.
-
wrote on 6 Aug 2013, 06:08 last edited by
I have just open-source a Qt websockets implementation (both client and server). See: "QWebSockets":https://github.com/KurtPattyn/QWebSockets
The implementation has been unit tested against the AutoBahn test suite, and it is faster than all browsers currently around.
Currently, there is no support for WSS and extensions.
-
wrote on 2 Feb 2014, 13:48 last edited by
The project is moved to the official Qt project, and is about to be included in Qt 5.3. It can be found at https://qt.gitorious.org/qt/qtwebsockets.
[quote author="KurtPattyn" date="1375769291"]I have just open-source a Qt websockets implementation (both client and server). See: "QWebSockets":https://github.com/KurtPattyn/QWebSocketsThe implementation has been unit tested against the AutoBahn test suite, and it is faster than all browsers currently around.
Currently, there is no support for WSS and extensions.[/quote]