Show TOC

Background documentationCommon Settings for Sockets Locate this document in the navigation structure

 

The sockets created by NI have set several socket settings differently from the operating system defaults.

Following setting will be set:

  • Non-blocking mode

  • Disable Nagle algorithm for client sockets (TCP no delay)

  • Allow reuse of address

  • No keepalive

  • Not remain open across exec (close on exec flag)

In addition on some platforms receive and send buffer size is redefined as well.