Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. WebSocket HELP!
Qt 6.11 is out! See what's new in the release blog

WebSocket HELP!

Scheduled Pinned Locked Moved Solved General and Desktop
1 Posts 1 Posters 374 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Debjit
    wrote on last edited by Debjit
    #1

    Hi everybody, I have been trying to implement a client using WebSocket with QT but still have no success, here is what I am trying, I am trying to make a client application like browser and which communicate with the server using WebSocket protocol.

    I have seen the QT examples documentation on WebSocket but I couldn't understand much as it was creating a client and server in the local machine. And even the documentation wasn't explaining anything much.

    I have done HTTP communication with QT, and in this case, as far I understand I have to send the get request with an upgrade to WebSocket headers .but exactly what to do I have no Idea.

    If somebody can point me to some example code that will be great thanks

    EDIT :
    Well I understood the code given in the example of SSL client and it solved my problem
    here is the link http://doc.qt.io/archives/qt-5.5/qtwebsockets-examples.html

    :)

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved