Sets our main struct and passes it to the parent class.
Creates a new gio.UnixSocketAddress for path.
Creates a new gio.UnixSocketAddress of type type with name path.
Gets address's type.
Tests if address is abstract.
Gets address's path, or for abstract sockets the "name".
Gets the length of address's path.
the main Gtk struct as a void*
Get the main Gtk struct
Checks if abstract UNIX domain socket names are supported.
the main Gtk struct
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
Gets the socket family type of address.
Gets the size of address's native struct sockaddr. You can use this to allocate memory to pass to Socket.addressToNative.
Converts a gio.SocketAddress to a native struct sockaddr, which can be passed to low-level functions like connect() or bind().
Support for UNIX-domain (also known as local) sockets.
UNIX domain sockets are generally visible in the filesystem. However, some systems support abstract socket names which are not visible in the filesystem and not affected by the filesystem permissions, visibility, etc. Currently this is only supported under Linux. If you attempt to use abstract sockets on other systems, function calls may return G_IO_ERROR_NOT_SUPPORTED errors. You can use UnixSocketAddress.abstractNamesSupported to see if abstract names are supported.
Note that <gio/gunixsocketaddress.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.