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/Wrappers/Socket_address/index.html

Module Wrappers.Socket_address

type t = [ `socket_address | `object_ ] Gobject.obj
val get_native_size : t -> int

Gets the size of @address's native struct sockaddr. You can use this to allocate memory to pass to g_socket_address_to_native().

val get_family : t -> Gio_enums.socketfamily

Gets the socket family type of @address.