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,
   Socket = 65535
}

Hierarchy

System.ObjectSystem.ValueTypeSystem.Enum(System.IComparable, System.IFormattable, System.IConvertible)SocketOptionLevel

Passed To

Socket.{GetSocketOption(), SetSocketOption()}

Get C# in a Nutshell 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.