November 24, 2011

2beers 2beers
Lab Rat
149 posts

websockets client api in Qt (C++)

 

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

7 replies

November 25, 2011

Mohsen Mohsen
Robot Herder
725 posts

what do you mean by websockets client? do you want to access web content? it’s already possible with QTCPSocket.

 Signature 

www.madagon.com

November 25, 2011

2beers 2beers
Lab Rat
149 posts

oh. sorry. Websockets is a new protocol for sending/receiving real-time data in browsers(html5 browsers). More info in wikipedia [en.wikipedia.org]

mohsen wrote:
what do you mean by websockets client? do you want to access web content? it’s already possible with QTCPSocket.

February 18, 2012

gadlim gadlim
Lab Rat
7 posts

There’s a websocket server project here [gitorious.org].
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).

February 18, 2012

2beers 2beers
Lab Rat
149 posts
gadlim wrote:
There’s a websocket server project here [gitorious.org]. 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).

Thanks. I’ve already knew about that… much easier?…probably … much faste?… probably not
Specially when you think about mobile devices.

May 5, 2012

nvcnvn nvcnvn
Lab Rat
10 posts

Hi 2beers!
I wonder if you found anything interesting?

May 5, 2012

2beers 2beers
Lab Rat
149 posts
nvcnvn wrote:
Hi 2beers! I wonder if you found anything interesting?

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

May 6, 2012

nvcnvn nvcnvn
Lab Rat
10 posts

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.

 
  ‹‹ Where to download Qt 4.7.4 Debug symbols for VC++ 98 on Window Desktop?      Change Standalone Qt App into Plugin for VS Project ››

You must log in to post a reply. Not a member yet? Register here!