public class Socket : GLib.Object, GLib.Initable {
[CCode (has_construct_function = false)]
public Socket (GLib.SocketFamily family, GLib.SocketType type, GLib.SocketProtocol protocol) throws GLib.Error;
- public unowned GLib.Socket accept (GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public GLib.Socket accept (GLib.Cancellable? cancellable = null) throws GLib.Error;
public bool bind (GLib.SocketAddress address, bool allow_reuse) throws GLib.Error;
public bool check_connect_result () throws GLib.Error;
public bool close () throws GLib.Error;
g_simple_async_result_new.source_object nullable="1"
+g_socket_accept transfer_ownership="1"
g_socket_condition_wait error_types="GLib.IOError"
g_socket_listener_accept_finish.source_object transfer_ownership="1" nullable="1" default_value="null"
g_socket_listener_accept_socket_finish.source_object transfer_ownership="1" nullable="1" default_value="null"