Results 1 to 2 of 2

Thread: Regarding two function, readyread() and isReadable difference in QtcpSocket class

  1. #1
    Join Date
    Mar 2013
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Regarding two function, readyread() and isReadable difference in QtcpSocket class

    sir whether connect(&socket,SIGNAL),this,SLOT));
    and if(socket.isReadable()) { readData(&socket); }
    are same?

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Regarding two function, readyread() and isReadable difference in QtcpSocket class

    No... neither snippet is close to being compilable code but apart from that they are not the same.

Similar Threads

  1. QTcpSocket emitting readyRead() sync
    By Momergil in forum Qt Programming
    Replies: 1
    Last Post: 30th January 2013, 22:50
  2. QTcpSocket readyRead strange behavior
    By naroin in forum Qt Programming
    Replies: 46
    Last Post: 21st January 2011, 22:28
  3. QTcpSocket and readyRead and QTimer
    By cafu in forum Qt Programming
    Replies: 2
    Last Post: 18th December 2009, 13:36
  4. Question in readyRead(QTCPSOCKET)
    By morgana in forum Qt Programming
    Replies: 2
    Last Post: 24th July 2008, 18:11
  5. QTcpSocket readyRead and buffer size
    By pdoria in forum Qt Programming
    Replies: 4
    Last Post: 2nd February 2008, 10:11

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.