package ocgtk

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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.