package ocgtk

  1. Overview
  2. Docs
OCaml bindings for GTK 4

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1-preview2.tar.gz
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054

doc/ocgtk.gio/Ocgtk_gio/Gio/Socket_connection/class-socket_connection/index.html

Class Socket_connection.socket_connection

inherit Ocgtk_gio__.GIo_stream.io_stream_t
method connect : Ocgtk_gio__.GSocket_address_and__socket_address_enumerator_and__socket_connectable.socket_address_t -> Ocgtk_gio__.GCancellable.cancellable_t option -> (bool, GError.t) result
method connect_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (bool, GError.t) result
method get_local_address : unit -> (Ocgtk_gio__.GSocket_address_and__socket_address_enumerator_and__socket_connectable.socket_address_t, GError.t) result
method get_remote_address : unit -> (Ocgtk_gio__.GSocket_address_and__socket_address_enumerator_and__socket_connectable.socket_address_t, GError.t) result
method get_socket : unit -> Ocgtk_gio__.GSocket_and__socket_connection.socket_t
method is_connected : unit -> bool
method as_socket_connection : Ocgtk_gio__.Socket_and__socket_connection.Socket_connection.t