Berkeley Sockets - Options For Sockets

Options For Sockets

After creating a socket, it is possible to set options on it. Some of the more common options are:

  • TCP_NODELAY disables the Nagle algorithm.
  • SO_KEEPALIVE enables periodic 'liveness' pings, if supported by the OS.

Read more about this topic:  Berkeley Sockets

Famous quotes containing the word sockets:

    And in their blazing solitude
    The stars sang in their sockets through the night:
    “Blow bright, blow bright
    The coal of this unquickened world.”
    Philip Larkin (1922–1986)