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