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.


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);



The GNU C Library Reference Manual, Edition 0.12

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.