Socket Options
This section describes Winsock Socket Options for various editions of Windows operating systems. Use the getsockopt and setsockopt functions for more getting and setting socket options. To enumerate protocols and discover supported properties for each installed protocol, use the WSAEnumProtocols function.
Some socket options require more explanation than these tables can convey; such options contain links to additional pages.
-
IPPROTO_IP
-
-
Socket options applicable at the IPv4 level. For more information, see the IPPROTO_IP Socket Options.
-
-
IPPROTO_IPV6
-
-
Socket options applicable at the IPv6 level. For more information, see the IPPROTO_IPV6 Socket Options.
-
-
IPPROTO_RM
-
-
Socket options applicable at the reliable multicast level. For more information, see the IPPROTO_RM Socket Options.
-
-
IPPROTO_TCP
-
-
Socket options applicable at the TCP level. For more information, see the IPPROTO_TCP Socket Options.
-
-
IPPROTO_UDP
-
-
Socket options applicable at the UDP level. For more information, see the IPPROTO_UDP Socket Options.
-
-
NSPROTO_IPX
-
-
Socket options applicable at the IPX level. For more information, see the NSPROTO_IPX Socket Options.
-
-
SOL_APPLETALK
-
-
Socket options applicable at the AppleTalk level. For more information, see the SOL_APPLETALK Socket Options.
-
-
SOL_IRLMP
-
-
Socket options applicable at the InfraRed Link Management Protocol level. For more information, see the SOL_IRLMP Socket Options.
-
-
SOL_SOCKET
-
-
Socket options applicable at the socket level. For more information, see the SOL_SOCKET Socket Options.
-
Remarks
All SO_* socket options apply equally to IPv4 and IPv6 (except SO_BROADCAST, since broadcast is not implemented in IPv6).