UnixFDMessage
Object Hierarchy:
GLib.UnixFDMessage
GLib.UnixFDMessage
GLib.UnixFDMessage
GLib.SocketControlMessage
GLib.SocketControlMessage
GLib.SocketControlMessage->GLib.UnixFDMessage
GLib.Object
GLib.Object
GLib.Object->GLib.SocketControlMessage
Description:
public class UnixFDMessage : SocketControlMessage
This SocketControlMessage contains a UnixFDList .
It may be sent using send_message and received using receive_message over UNIX
sockets (ie: sockets in the g_socket_family_unix family). The file descriptors are copied between
processes by the kernel.
For an easier way to send and receive file descriptors over stream-oriented UNIX sockets, see
send_fd and
receive_fd .
Note that `<gio/gunixfdmessage.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.
Content:
Properties:
public UnixFDList fd_list { get ; construct ; }
Creation methods:
Methods:
public bool append_fd (int fd) throws Error
Adds a file descriptor to this .
public unowned UnixFDList get_fd_list ()
Gets the UnixFDList contained in
this .
public int [] steal_fds ()
Returns the array of file descriptors that is contained in this
object.
Inherited Members:
All known members inherited from class GLib.SocketControlMessage
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref