Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Net.Sockets.IOControlKeepAlive Class Referencesealed

Static Public Member Functions

static SocketError Get (SafeSocketHandle handle, SocketOptionName optionName, byte[] optionValueSeconds, ref int optionLength)
 
static int Get (SafeSocketHandle handle, SocketOptionName optionName)
 
static SocketError Set (SafeSocketHandle handle, SocketOptionName optionName, byte[] optionValueSeconds)
 
static SocketError Set (SafeSocketHandle handle, SocketOptionName optionName, int optionValueSeconds)
 

Properties

static bool IsNeeded [get]
 

Private Member Functions

void Fill (byte[] buffer)
 

Static Private Member Functions

static bool SupportsKeepAliveViaSocketOption ()
 
static int MillisecondsToSeconds (uint milliseconds)
 
static uint SecondsToMilliseconds (int seconds)
 

Private Attributes

uint _timeMs = 7200000u
 
uint _intervalMs = 1000u
 

Static Private Attributes

static readonly bool s_supportsKeepAliveViaSocketOption = SupportsKeepAliveViaSocketOption()
 
static readonly ConditionalWeakTable< SafeSocketHandle, IOControlKeepAlives_socketKeepAliveTable = new ConditionalWeakTable<SafeSocketHandle, IOControlKeepAlive>()
 
static byte[] s_keepAliveValuesBuffer
 

Detailed Description

Definition at line 5 of file IOControlKeepAlive.cs.


The documentation for this class was generated from the following file: