Skip to content

docs: Reword socket.setNoDelay()

Change the description of socket.setNoDelay() to make it clear that sockets have Nagle's algorithm enabled by default.

Better document the tradeoff of having the algorithm enabled.

Explain the behavior of the function based on the passed arguments.

This change is a follow up of #31539 and incorporates feedback from #7995.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading