Hoogle Search
Within LTS Haskell 24.58 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
UnixConnection :: ManagedPtr UnixConnection -> UnixConnectiongi-gio GI.Gio.Objects.UnixConnection No documentation available.
toUnixConnection :: (MonadIO m, IsUnixConnection o) => o -> m UnixConnectiongi-gio GI.Gio.Objects.UnixConnection Cast to UnixConnection, for types for which this is known to be safe. For general casts, use castTo.
-
gi-gio GI.Gio.Objects.UnixConnection Receives credentials from the sending end of the connection. The sending end has to call unixConnectionSendCredentials (or similar) for this to work. As well as reading the credentials this also reads (and discards) a single byte from the stream, as this is required for credentials passing to work on some implementations. This method can be expected to be available on the following platforms:
- Linux since GLib 2.26
- FreeBSD since GLib 2.26
- GNU/kFreeBSD since GLib 2.36
- Solaris, Illumos and OpenSolaris since GLib 2.40
- GNU/Hurd since GLib 2.40
-
gi-gio GI.Gio.Objects.UnixConnection Asynchronously receive credentials. For more details, see unixConnectionReceiveCredentials which is the synchronous version of this call. When the operation is finished, callback will be called. You can then call unixConnectionReceiveCredentialsFinish to get the result of the operation. Since: 2.32
-
gi-gio GI.Gio.Objects.UnixConnection Finishes an asynchronous receive credentials operation started with unixConnectionReceiveCredentialsAsync. Since: 2.32
-
gi-gio GI.Gio.Objects.UnixConnection Receives a file descriptor from the sending end of the connection. The sending end has to call unixConnectionSendFd for this to work. As well as reading the fd this also reads a single byte from the stream, as this is required for fd passing to work on some implementations. Since: 2.22
-
gi-gio GI.Gio.Objects.UnixConnection Passes the credentials of the current user the receiving side of the connection. The receiving end has to call unixConnectionReceiveCredentials (or similar) to accept the credentials. As well as sending the credentials this also writes a single NUL byte to the stream, as this is required for credentials passing to work on some implementations. This method can be expected to be available on the following platforms:
- Linux since GLib 2.26
- FreeBSD since GLib 2.26
- GNU/kFreeBSD since GLib 2.36
- Solaris, Illumos and OpenSolaris since GLib 2.40
- GNU/Hurd since GLib 2.40
-
gi-gio GI.Gio.Objects.UnixConnection Asynchronously send credentials. For more details, see unixConnectionSendCredentials which is the synchronous version of this call. When the operation is finished, callback will be called. You can then call unixConnectionSendCredentialsFinish to get the result of the operation. Since: 2.32
-
gi-gio GI.Gio.Objects.UnixConnection Finishes an asynchronous send credentials operation started with unixConnectionSendCredentialsAsync. Since: 2.32
-
gi-gio GI.Gio.Objects.UnixConnection Passes a file descriptor to the receiving side of the connection. The receiving end has to call unixConnectionReceiveFd to accept the file descriptor. As well as sending the fd this also writes a single byte to the stream, as this is required for fd passing to work on some implementations. Since: 2.22