Table of Contents

Class SocketControlMessage

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

Constructors

SocketControlMessage(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public SocketControlMessage(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

SocketControlMessage(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected SocketControlMessage(CreationData data)

Parameters

data CreationData

SocketControlMessage(SocketControlMessageHandle)

protected SocketControlMessage(SocketControlMessageHandle handle)

Parameters

handle SocketControlMessageHandle

Methods

Deserialize(int, int, Span<byte>)

[Version("2.22")]
public static SocketControlMessage? Deserialize(int level, int type, Span<byte> data)

Parameters

level int
type int
data Span<byte>

Returns

SocketControlMessage

GetGType()

public static Type GetGType()

Returns

Type

GetLevel()

[Version("2.22")]
public int GetLevel()

Returns

int

GetMsgType()

[Version("2.22")]
public int GetMsgType()

Returns

int

GetSize()

[Version("2.22")]
public nuint GetSize()

Returns

nuint

NewFromPointer(nint, bool)

Creates a new managed SocketControlMessage instance for a given pointer.

public static SocketControlMessage NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

SocketControlMessage

NewWithProperties(ConstructArgument[])

Creates a new SocketControlMessage and sets the properties specified by the construct arguments.

public static SocketControlMessage NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

SocketControlMessage

Serialize(nint)

[Version("2.22")]
public void Serialize(nint data)

Parameters

data nint