Results 1 to 4 of 4

Thread: QWebSocket closeCode not returning expected value

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Nov 2024
    Posts
    1
    Qt products
    Qt3
    Platforms
    Windows

    Default Re: QWebSocket closeCode not returning expected value

    Quote Originally Posted by 413X View Post
    The problem was that I was using close codes 1000-1015 and QWebsocket appeared to be disagreeing with their usage and reported 1002, probably because they were being misused. The solution was to just use close codes in the 4000+ range.poppy playtime chapter 3
    These are the real challenges developers face when dealing with WebSocket closures and the need for consistent error codes across their implementations.
    Last edited by EvetteHBerkeley; 25th November 2024 at 06:50.

Similar Threads

  1. Replies: 0
    Last Post: 7th December 2017, 18:33
  2. QWebChannel - QWebSocket - threading problem
    By RafalNiewinski in forum Qt Programming
    Replies: 5
    Last Post: 8th December 2016, 15:16
  3. Need help handling received messages with QWebSocket based GUI
    By JaffaMicrobrain in forum Qt Programming
    Replies: 5
    Last Post: 26th August 2015, 16:22
  4. Returning from Dialog
    By SSqt5.2 in forum Newbie
    Replies: 9
    Last Post: 20th October 2014, 10:16
  5. Replies: 1
    Last Post: 15th October 2014, 21:00

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.