Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Disable nagle's algorithm (TCP_NODELAY) using QWebSocket
Forum Updated to NodeBB v4.3 + New Features

Disable nagle's algorithm (TCP_NODELAY) using QWebSocket

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 283 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nowis
    wrote on 21 Jan 2022, 12:01 last edited by Nowis
    #1

    I am using a QWebSocket in a client application and I need to disable nagle's algorithm used in TCP.

    Fortunately, QWebSocket seems to disable it by default : QWebSocketImplementation, LowDelayOption

    However, it does seems to have any effects on the TCP_NODELAY option. Using knetstat to view the socket option I get this :

    SO_REUSEADDR=0,SO_REUSEPORT=0,SO_KEEPALIVE=0,TCP_NODELAY=0,TCP_DEFER_ACCEPT=0
    

    So it looks like the option is not actually set. Am I missing something ?

    1 Reply Last reply
    0

    1/1

    21 Jan 2022, 12:01

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved