Name

SocketOptionLevel

Synopsis

This enumeration contains values for the type of socket option specified in Socket.SetSocketOption( ).

public enum SocketOptionLevel {
   IP = 0,
   Tcp = 6,
   Udp = 17,
   IPv6 = 41,
   Socket = 65535
}

Hierarchy

System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) SocketOptionLevel

Passed To

Socket.{GetSocketOption( ), SetSocketOption( )}

Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.