Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Net.NameResolutionPal Class Reference

Classes

struct  GetAddrInfoExContext
 
class  GetAddrInfoExState
 

Static Public Member Functions

static unsafe SocketError TryGetAddrInfo (string name, bool justAddresses, AddressFamily addressFamily, out string hostName, out string[] aliases, out IPAddress[] addresses, out int nativeErrorCode)
 
static unsafe string TryGetNameInfo (IPAddress addr, out SocketError errorCode, out int nativeErrorCode)
 
static unsafe string GetHostName ()
 
static unsafe Task GetAddrInfoAsync (string hostName, bool justAddresses, AddressFamily family, CancellationToken cancellationToken)
 

Properties

static bool SupportsGetAddrInfoAsync [get]
 

Static Private Member Functions

static unsafe void GetAddressInfoExCallback (int error, int bytes, NativeOverlapped *overlapped)
 
static unsafe void ProcessResult (SocketError errorCode, GetAddrInfoExContext *context)
 
static unsafe IPAddress[] ParseAddressInfo (global::Interop.Winsock.AddressInfo *addressInfoPtr, bool justAddresses, out string hostName)
 
static unsafe IPAddress[] ParseAddressInfoEx (global::Interop.Winsock.AddressInfoEx *addressInfoExPtr, bool justAddresses, out string hostName)
 
static IPAddress CreateIPv4Address (ReadOnlySpan< byte > socketAddress)
 
static IPAddress CreateIPv6Address (ReadOnlySpan< byte > socketAddress)
 

Static Private Attributes

static volatile int s_getAddrInfoExSupported
 

Detailed Description

Definition at line 10 of file NameResolutionPal.cs.


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