Table of Contents

Class SocketAddress

Namespace
Gio
Assembly
Gio-2.0.dll
public class SocketAddress : Object, IDisposable, SocketConnectable, GTypeProvider, InstanceFactory
Inheritance
SocketAddress
Implements
Derived
Inherited Members

Constructors

SocketAddress(params ConstructArgument[])

public SocketAddress(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

SocketAddress(SocketAddressHandle)

public SocketAddress(SocketAddressHandle handle)

Parameters

handle SocketAddressHandle

Fields

FamilyPropertyDefinition

public static readonly Property<SocketFamily, SocketAddress> FamilyPropertyDefinition

Field Value

Property<SocketFamily, SocketAddress>

Properties

Family

public SocketFamily Family { get; }

Property Value

SocketFamily

Methods

Enumerate()

[Version("2.22")]
public SocketAddressEnumerator Enumerate()

Returns

SocketAddressEnumerator

GetFamily()

[Version("2.22")]
public SocketFamily GetFamily()

Returns

SocketFamily

GetGType()

public static Type GetGType()

Returns

Type

GetNativeSize()

[Version("2.22")]
public nint GetNativeSize()

Returns

nint

NewFromNative(nint, nuint)

[Version("2.22")]
public static SocketAddress NewFromNative(nint native, nuint len)

Parameters

native nint
len nuint

Returns

SocketAddress

ProxyEnumerate()

[Version("2.26")]
public SocketAddressEnumerator ProxyEnumerate()

Returns

SocketAddressEnumerator

ToNative(nint, nuint)

[Version("2.22")]
public bool ToNative(nint dest, nuint destlen)

Parameters

dest nint
destlen nuint

Returns

bool

ToString()

[Version("2.48")]
public string ToString()

Returns

string