Table of Contents

Enum SocketOptionLevel

Namespace
System.Net.Sockets
Assembly
System.Net.dll

Defines socket option levels for the Socket class.

public enum SocketOptionLevel

Fields

IP = 0

Indicates socket options apply to IP sockets.

IPv6 = 41

Indicates socket options apply to IPv6 sockets.

Socket = 65535

Indicates socket options apply to the socket itself.

Tcp = 6

Indicates socket options apply to TCP sockets.

Udp = 17

Indicates socket options apply to UDP sockets.