Name

SocketOptionName

Synopsis

This enumeration contains the names of socket options set by Socket.SetSocketOption(). The socket option named must be applicable to the option level from SocketOptionLevel.

Public Enum SocketOptionName
                  IPOptions = 1
                  Debug = 1
                  NoDelay = 1
                  NoChecksum = 1
                  HeaderIncluded = 2
                  AcceptConnection = 2
                  Expedited = 2
                  BsdUrgent = 2
                  TypeOfService = 3
                  ReuseAddress = 4
                  IpTimeToLive = 4
                  KeepAlive = 8
                  MulticastInterface = 9
                  MulticastTimeToLive = 10
                  MulticastLoopback = 11
                  AddMembership = 12
                  DropMembership = 13
                  DontFragment = 14
                  AddSourceMembership = 15
                  DropSourceMembership = 16
                  DontRoute = 16
                  BlockSource = 17
                  UnblockSource = 18
                  PacketInformation = 19
                  ChecksumCoverage = 20
                  Broadcast = 32
                  UseLoopback = 64
                  Linger = 128
                  OutOfBandInline = 256
                  SendBuffer = 4097
                  ReceiveBuffer = 4098
                  SendLowWater = 4099
                  ReceiveLowWater = 4100
                  SendTimeout = 4101
                  ReceiveTimeout = 4102
                  Error = 4103
                  Type = 4104
                  MaxConnections = 2147483647
                  DontLinger = -129
                  ExclusiveAddressUse = -5
End Enum

Hierarchy

System.ObjectSystem.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) SocketOptionName

Passed To

Socket.{GetSocketOption(), SetSocketOption()}

Get VB.NET Core Classes 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.