Sets our main struct and passes it to the parent class.
the main Gtk struct as a void*
Get the main Gtk struct
Receives credentials from the sending end of the connection. The sending end has to call UnixConnection.sendCredentials (or similar) for this to work.
Asynchronously receive credentials.
Finishes an asynchronous receive credentials operation started with UnixConnection.receiveCredentialsAsync.
Receives a file descriptor from the sending end of the connection. The sending end has to call UnixConnection.sendFd for this to work.
Passes the credentials of the current user the receiving side of the connection. The receiving end has to call UnixConnection.receiveCredentials (or similar) to accept the credentials.
Asynchronously send credentials.
Finishes an asynchronous send credentials operation started with UnixConnection.sendCredentialsAsync.
Passes a file descriptor to the receiving side of the connection. The receiving end has to call UnixConnection.receiveFd to accept the file descriptor.
the main Gtk struct
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
Looks up the GType to be used when creating socket connections on sockets with the specified family, type and protocol_id.
Looks up the GType to be used when creating socket connections on sockets with the specified family, type and protocol.
Connect connection to the specified remote address.
Asynchronously connect connection to the specified remote address.
Gets the result of a Socket.connectionConnectAsync call.
Try to get the local address of a socket connection.
Try to get the remote address of a socket connection.
Gets the underlying atk.Socket object of the connection. This can be useful if you want to do something unusual on it not supported by the gio.SocketConnection APIs.
Checks if connection is connected. This is equivalent to calling Socket.isConnected on connection's underlying atk.Socket
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.