Results 1 to 2 of 2

Thread: waitForReadyRead() disconnects tcp socket?

  1. #1
    Join Date
    Jan 2008
    Posts
    107
    Thanks
    36
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Question waitForReadyRead() disconnects tcp socket?

    Hi People,

    Qt ver. 4.4.1

    Whenever waitForReadyRead is called from (from a thread -- classic threaded server example) it disconnects the socket!

    Any pointers?

    Thanks in advance,
    Pedro Doria Meunier

  2. #2
    Join Date
    Jul 2008
    Location
    Netherlands
    Posts
    33
    Thanks
    2
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: waitForReadyRead() disconnects tcp socket?

    How do you know it disconnects? What waitForReadyRead() does return? Can you post some relevant code you use?
    I use sockets in multithreaded applications and have never observed this, as far as I can remember (which is not too much at this point ).

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.