Results 1 to 12 of 12

Thread: QTcpSocket does not send data immediately

Threaded View

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

    Default Re: QTcpSocket does not send data immediately

    There's no such beast as an unbuffered TCP socket, a point made by the QTcpSocket docs:
    Note: TCP sockets cannot be opened in QIODevice::Unbuffered mode.
    You queue stuff to send and the TCP/IP stack looks after sending it, pipeline optimisation, acknowledgement, sequencing, and integrity. It gets there when it gets there... and you can be sure it will.

  2. The following user says thank you to ChrisW67 for this useful post:

    igorosberg (15th July 2011)

Similar Threads

  1. how to use qtcpsocket send qimage data
    By tsuibin in forum Qt Programming
    Replies: 2
    Last Post: 18th April 2012, 15:51
  2. Replies: 4
    Last Post: 22nd March 2010, 19:32
  3. How to send Pixmap through QTcpSocket?
    By live_07 in forum Qt Programming
    Replies: 1
    Last Post: 10th September 2008, 17:35
  4. Send Base64 encoded data
    By rmagro in forum Qt Programming
    Replies: 6
    Last Post: 29th October 2007, 17:58
  5. My client can't send data
    By hiuao in forum Qt Programming
    Replies: 10
    Last Post: 23rd February 2007, 10:32

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.