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:

    Webster was much possessed by death
    And saw the skull beneath the skin;
    And breastless creatures under ground
    Leaned backward with a lipless grin.

    Daffodil bulbs instead of balls
    Stared from the sockets of the eyes!
    —T.S. (Thomas Stearns)