Gio.UnixConnection

const Gio = imports.gi.Gio;

let unixConnection = new Gio.UnixConnection();
  

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

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

Note that `<gio/gunixconnection.h>` belongs to the UNIX-specific GIO interfaces, thus you have to use the `gio-unix-2.0.pc` pkg-config file when using it.

Hierarchy

  • GObject.Object
    • Gio.IOStream
      • Gio.SocketConnection
        • Gio.UnixConnection