using System; namespace System.Net.Sockets { /// Defines configuration option names. // Token: 0x020001F2 RID: 498 public enum SocketOptionName { /// Record debugging information. // Token: 0x04000EF1 RID: 3825 Debug = 1, /// The socket is listening. // Token: 0x04000EF2 RID: 3826 AcceptConnection, /// Allows the socket to be bound to an address that is already in use. // Token: 0x04000EF3 RID: 3827 ReuseAddress = 4, /// Use keep-alives. // Token: 0x04000EF4 RID: 3828 KeepAlive = 8, /// Do not route; send the packet directly to the interface addresses. // Token: 0x04000EF5 RID: 3829 DontRoute = 16, /// Permit sending broadcast messages on the socket. // Token: 0x04000EF6 RID: 3830 Broadcast = 32, /// Bypass hardware when possible. // Token: 0x04000EF7 RID: 3831 UseLoopback = 64, /// Linger on close if unsent data is present. // Token: 0x04000EF8 RID: 3832 Linger = 128, /// Receives out-of-band data in the normal data stream. // Token: 0x04000EF9 RID: 3833 OutOfBandInline = 256, /// Close the socket gracefully without lingering. // Token: 0x04000EFA RID: 3834 DontLinger = -129, /// Enables a socket to be bound for exclusive access. // Token: 0x04000EFB RID: 3835 ExclusiveAddressUse = -5, /// Specifies the total per-socket buffer space reserved for sends. This is unrelated to the maximum message size or the size of a TCP window. // Token: 0x04000EFC RID: 3836 SendBuffer = 4097, /// Specifies the total per-socket buffer space reserved for receives. This is unrelated to the maximum message size or the size of a TCP window. // Token: 0x04000EFD RID: 3837 ReceiveBuffer, /// Specifies the low water mark for operations. // Token: 0x04000EFE RID: 3838 SendLowWater, /// Specifies the low water mark for operations. // Token: 0x04000EFF RID: 3839 ReceiveLowWater, /// Send a time-out. This option applies only to synchronous methods; it has no effect on asynchronous methods such as the method. // Token: 0x04000F00 RID: 3840 SendTimeout, /// Receive a time-out. This option applies only to synchronous methods; it has no effect on asynchronous methods such as the method. // Token: 0x04000F01 RID: 3841 ReceiveTimeout, /// Get the error status and clear. // Token: 0x04000F02 RID: 3842 Error, /// Get the socket type. // Token: 0x04000F03 RID: 3843 Type, /// Not supported; will throw a if used. // Token: 0x04000F04 RID: 3844 MaxConnections = 2147483647, /// Specifies the IP options to be inserted into outgoing datagrams. // Token: 0x04000F05 RID: 3845 IPOptions = 1, /// Indicates that the application provides the IP header for outgoing datagrams. // Token: 0x04000F06 RID: 3846 HeaderIncluded, /// Change the IP header type of the service field. // Token: 0x04000F07 RID: 3847 TypeOfService, /// Set the IP header Time-to-Live field. // Token: 0x04000F08 RID: 3848 IpTimeToLive, /// Set the interface for outgoing multicast packets. // Token: 0x04000F09 RID: 3849 MulticastInterface = 9, /// An IP multicast Time to Live. // Token: 0x04000F0A RID: 3850 MulticastTimeToLive, /// An IP multicast loopback. // Token: 0x04000F0B RID: 3851 MulticastLoopback, /// Add an IP group membership. // Token: 0x04000F0C RID: 3852 AddMembership, /// Drop an IP group membership. // Token: 0x04000F0D RID: 3853 DropMembership, /// Do not fragment IP datagrams. // Token: 0x04000F0E RID: 3854 DontFragment, /// Join a source group. // Token: 0x04000F0F RID: 3855 AddSourceMembership, /// Drop a source group. // Token: 0x04000F10 RID: 3856 DropSourceMembership, /// Block data from a source. // Token: 0x04000F11 RID: 3857 BlockSource, /// Unblock a previously blocked source. // Token: 0x04000F12 RID: 3858 UnblockSource, /// Return information about received packets. // Token: 0x04000F13 RID: 3859 PacketInformation, /// Disables the Nagle algorithm for send coalescing. // Token: 0x04000F14 RID: 3860 NoDelay = 1, /// Use urgent data as defined in RFC-1222. This option can be set only once; after it is set, it cannot be turned off. // Token: 0x04000F15 RID: 3861 BsdUrgent, /// Use expedited data as defined in RFC-1222. This option can be set only once; after it is set, it cannot be turned off. // Token: 0x04000F16 RID: 3862 Expedited = 2, /// Send UDP datagrams with checksum set to zero. // Token: 0x04000F17 RID: 3863 NoChecksum = 1, /// Set or get the UDP checksum coverage. // Token: 0x04000F18 RID: 3864 ChecksumCoverage = 20, /// Specifies the maximum number of router hops for an Internet Protocol version 6 (IPv6) packet. This is similar to Time to Live (TTL) for Internet Protocol version 4. // Token: 0x04000F19 RID: 3865 HopLimit, /// Updates an accepted socket's properties by using those of an existing socket. This is equivalent to using the Winsock2 SO_UPDATE_ACCEPT_CONTEXT socket option and is supported only on connection-oriented sockets. // Token: 0x04000F1A RID: 3866 UpdateAcceptContext = 28683, /// Updates a connected socket's properties by using those of an existing socket. This is equivalent to using the Winsock2 SO_UPDATE_CONNECT_CONTEXT socket option and is supported only on connection-oriented sockets. // Token: 0x04000F1B RID: 3867 UpdateConnectContext = 28688 } }