Table of Contents

Class TcpConnection

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

Methods

GetGType()

Calls native function g_tcp_connection_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetGracefulDisconnect(IntPtr)

Calls native method g_tcp_connection_get_graceful_disconnect. Version: 2.22

[Version("2.22")]
public static extern bool GetGracefulDisconnect(IntPtr connection)

Parameters

connection IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

SetGracefulDisconnect(IntPtr, bool)

Calls native method g_tcp_connection_set_graceful_disconnect. Version: 2.22

[Version("2.22")]
public static extern void SetGracefulDisconnect(IntPtr connection, bool gracefulDisconnect)

Parameters

connection IntPtr

Transfer ownership: None Nullable: False

gracefulDisconnect bool

Transfer ownership: None Nullable: False