Socket Option Level#

Macros#

#define
SOL_SOCKET 0xffff

This is used to denote that the options are applicable at the socket level.

#define
SOL_TCP 0x0006

This is used to denote that the options are applicable at the TCP level.