TCP options to use

Working with Out-Of-Band Data: Setting the URG-Flag. This prevents that later packets have to wait for earlier, lost ones.

send(…,,MSG_OOB)

Setting the socket to TCP_NOWAIT: This sends small amounts of data immediately, without waiting for filling one packet.

m_socket->setSocketOption(QAbstractSocket::LowDelayOption, 1);

PSH-Flag….

packetlife.net/blog/2011/mar/2/tcp-flags-psh-and-urg/

Literature:

The GNU C Library Reference Manual, Edition 0.12

www.qtcentre.org/threads/45955-SOLVED-setting-QTcpSocket-TCP_NODELAY-option

doc.qt.nokia.com/4.7/qabstractsocket.html

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>