Results 1 to 1 of 1

Thread: Problem with QSslSocket Server app

  1. #1

    Default Problem with QSslSocket Server app

    Hi all,

    I'am writeing little chat application and stumbled across a problem. I wrote the app in QT5 on Windows and it works fine then a copy-paste it on Linux and problem occured. Everything compiles ok. When I'am trying to connect also ok both server and client emit "encrypted" and "connected" signal (no ssl errors or any other). When server sends message to client it receives ok but when client sends message to server it doesn't. Server doesen't throw any errors. When i disconnect server I get "QSocketNotifier: Invalid socket 20 and type 'Read', disabling..." message just like it was trying to receive but didn't finish. I've been working on this for some time now and cant't find answer.
    I attached .cpp files of server and client and if anyone can help I'd be much obliged.
    Attached Files Attached Files

Similar Threads

  1. QSslSocket problem client-server
    By JaroMast in forum Qt Programming
    Replies: 9
    Last Post: 21st June 2012, 13:14
  2. QSslSocket - problem with connecting to the server
    By kremuwa in forum Qt Programming
    Replies: 9
    Last Post: 26th August 2010, 14:40
  3. Replies: 3
    Last Post: 29th November 2009, 20:24
  4. QSslSocket based server never finishes handshake (Solved)
    By December in forum Qt Programming
    Replies: 1
    Last Post: 19th September 2009, 14:15
  5. QSslSocket server
    By tpf80 in forum Qt Programming
    Replies: 3
    Last Post: 7th May 2009, 04:10

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.