Table of Contents

Class SocketControlMessage

Namespace
Gio.Internal
Assembly
Gio-2.0.dll
public class SocketControlMessage
Inheritance
SocketControlMessage
Inherited Members

Methods

Deserialize(int, int, nuint, ref byte)

Calls native function g_socket_control_message_deserialize. Version: 2.22

[Version("2.22")]
public static extern IntPtr Deserialize(int level, int type, nuint size, ref byte data)

Parameters

level int

Transfer ownership: None Nullable: False

type int

Transfer ownership: None Nullable: False

size nuint

Transfer ownership: None Nullable: False

data byte

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: True

GetGType()

Calls native function g_socket_control_message_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetLevel(IntPtr)

Calls native method g_socket_control_message_get_level. Version: 2.22

[Version("2.22")]
public static extern int GetLevel(IntPtr message)

Parameters

message IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetMsgType(IntPtr)

Calls native method g_socket_control_message_get_msg_type. Version: 2.22

[Version("2.22")]
public static extern int GetMsgType(IntPtr message)

Parameters

message IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetSize(IntPtr)

Calls native method g_socket_control_message_get_size. Version: 2.22

[Version("2.22")]
public static extern nuint GetSize(IntPtr message)

Parameters

message IntPtr

Transfer ownership: None Nullable: False

Returns

nuint

Transfer ownership: None Nullable: False

Serialize(IntPtr, IntPtr)

Calls native method g_socket_control_message_serialize. Version: 2.22

[Version("2.22")]
public static extern void Serialize(IntPtr message, IntPtr data)

Parameters

message IntPtr

Transfer ownership: None Nullable: False

data IntPtr

Transfer ownership: None Nullable: False