UnixConnection


Object Hierarchy:

GLib.UnixConnection GLib.UnixConnection GLib.UnixConnection GLib.SocketConnection GLib.SocketConnection GLib.SocketConnection->GLib.UnixConnection GLib.IOStream GLib.IOStream GLib.IOStream->GLib.SocketConnection GLib.Object GLib.Object GLib.Object->GLib.IOStream

Description:


public class UnixConnection : SocketConnection

This is the subclass of SocketConnection that is created for UNIX domain sockets.

It contains functions to do some of the UNIX socket specific functionality like passing file descriptors.

Since GLib 2.72, UnixConnection is available on all platforms. It requires underlying system support (such as Windows 10 with `AF_UNIX`) at run time.

Before GLib 2.72, `<gio/gunixconnection.h>` belonged to the UNIX-specific GIO interfaces, thus you had to use the `gio-unix-2.0.pc` pkg-config file when using it. This is no longer necessary since GLib 2.72.


Namespace: GLib
Package: gio-unix-2.0

Content:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.SocketConnection
All known members inherited from class GLib.IOStream
All known members inherited from class GLib.Object



2022 vala-language.org