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….

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

Literature:

The GNU C Library Reference Manual, Edition 0.12

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

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

Leave a comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.