Gio.SocketListener.prototype.accept_socket_finish

function accept_socket_finish(result: Gio.AsyncResult): [return_value: Gio.Socket, source_object: GObject.Object] {
    // Gjs wrapper for g_socket_listener_accept_socket_finish()
}
  

Finishes an async accept operation. See Gio.SocketListener.prototype.accept_socket_async

Since 2.22

result

a Gio.AsyncResult.

return_value

a Gio.Socket on success, null on error.

source_object

Optional GObject.Object identifying this source