GUnixSocketAddress

GUnixSocketAddress — Unix socket addresses

Synopsis

                    GUnixSocketAddress;
GSocketAddress *    g_unix_socket_address_new           (const gchar *path);

Object Hierarchy

  GObject
   +----GSocketAddress
         +----GUnixSocketAddress

Implemented Interfaces

GUnixSocketAddress implements GSocketConnectable.

Properties

  "path"                     gchar*                : Read / Write / Construct Only

Description

Support for UNIX-domain (aka local) sockets.

Details

GUnixSocketAddress

typedef struct _GUnixSocketAddress GUnixSocketAddress;

A UNIX-domain (local) socket address, corresponding to a struct sockaddr_un.


g_unix_socket_address_new ()

GSocketAddress *    g_unix_socket_address_new           (const gchar *path);

Creates a new GUnixSocketAddress for path.

path :

the socket path

Returns :

a new GUnixSocketAddress

Since 2.22

Property Details

The "path" property

  "path"                     gchar*                : Read / Write / Construct Only

UNIX socket path.

Default value: NULL