Show TOC

Common Settings for SocketsLocate this document in the navigation structure

Use

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.